I have a jtable cell with text information, and i use a renderer for change the background color of the cell, look similar this code:
Component cell = super.getTableCellRendererComponent
(table, "MY TEXT CELL", isSelected, hasFocus, row, column);
cell.setFont(new Font("Dialog", 0, 10));
cell.setBackground(Color.RED);
All the entire cell background i'ts filled with red color... but i want to leave a space not red with the limits of the cell, if it's possible in white color, like a "border background" cell, it's possible?
Thanks a lot!!