ensure selected table text color is consistent across platforms

This commit is contained in:
myk
2013-02-26 01:34:09 +00:00
parent 927e2b4769
commit e7732684bc

View File

@@ -197,6 +197,7 @@ public final class EditorTableView<T extends InventoryItem> {
// use different selection highlight colors for focused vs. unfocused tables
table.setSelectionBackground(FSkin.getColor(FSkin.Colors.CLR_INACTIVE));
table.setSelectionForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT));
table.addFocusListener(new FocusListener() {
@Override
public void focusLost(FocusEvent e) {