How can I insert colours in the cells of the JXList.????
I've found a way to do this, but it is for old swingx
Printable View
How can I insert colours in the cells of the JXList.????
I've found a way to do this, but it is for old swingx
test it:
Code:JXList list = new JXList();
list.setModel(loadModel());
list.setHighlighters( new HighlighterPipeline(new Highlighter[]{
AlternateRowHighlighter.quickSilver })
);
check the documentation please
JXList.ListAdapter