I use JTattoo LookAndFeel for my swing application. JComboBoxes in my app do not paint correctly. They do not show the selected item text. It just shows an arrow at the middle of JComboBox. When I click on combo, it shows the dropdown list, but it does not show the selected item. How can I fix that?
EDIT: It works in other lookAndFeels.
My GUI objects are constructed and manipulated in the event dispatch thread
. but the comboboxes are corrupted.
I realized that I had changed the lookAndFeel after
mainframe.setVisible()
. I should had changed id beforemainFrame.setVisible()
to take the best effect.