Re: Setting selected record background color of a listbox
Posted: Tue Apr 07, 2020 5:44 pm
For smartclient you can use application.putClientProperty() to change Swing UI constants.
To change the selection color of the listbox you can use for example:
To change the selection color of the listbox you can use for example:
- Code: Select all
application.putClientProperty('List.selectionBackground', new Packages.javax.swing.plaf.ColorUIResource(java.awt.Color.RED))