mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
background/foreground (IDEA-79153)
This commit is contained in:
+2
-6
@@ -707,12 +707,8 @@ public String getAccessorsVisibility() {
|
||||
}
|
||||
|
||||
private void configureColors(boolean isSelected, JTable table, boolean hasFocus, final int row, final int column) {
|
||||
if (isSelected) {
|
||||
setForeground(table.getSelectionForeground());
|
||||
} else {
|
||||
setForeground(UIUtil.getTableForeground());
|
||||
}
|
||||
|
||||
setForeground(isSelected ? UIUtil.getTableSelectionForeground() : UIUtil.getTableForeground());
|
||||
setBackground(isSelected ? UIUtil.getTableSelectionBackground() : UIUtil.getTableBackground());
|
||||
if (hasFocus) {
|
||||
if (table.isCellEditable(row, column)) {
|
||||
super.setForeground(UIUtil.getTableFocusCellForeground());
|
||||
|
||||
Reference in New Issue
Block a user