Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java jtable change column color

DefaultTableCellRenderer rendar1 = new DefaultTableCellRenderer();
    rendar1.setForeground(Color.red);

    jTable1.getColumnModel().getColumn(0).setCellRenderer(rendar1);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #jtable #change #column #color
ADD COMMENT
Topic
Name
2+8 =