fix: filter combobox by name

This commit is contained in:
Dar
2024-12-16 15:48:54 +01:00
parent 19055d5a18
commit 6404b8de2a

View File

@@ -324,8 +324,8 @@ public class FlatListUI
cw = rowBounds.width;
}
// filelist/combobox does not support alternate row color
if( !isFileList && !(dataModel instanceof DefaultComboBoxModel) ) {
// combobox does not support alternate row color
if ( !"ComboBox.list".equals( list.getName() ) ) {
if( alternateRowColor != null && row % 2 != 0 ) {
g.setColor( alternateRowColor );