I want to increase readability of my jtable , here is MyTableModel.java class below , how to make each row with 2 different color shown in this picture . What should be t
long time ago, i had the same problem.
In this case i use the JXTable from the swingX library instead of the JTable. This componenet has a great method:
addHighlighter(HighlighterFactory.createSimpleStriping());
good luck