File tree Expand file tree Collapse file tree
src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcelist Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ public ResourceListPane()
104104
105105 tree .setRootVisible (false );
106106 tree .setShowsRootHandles (true );
107- quickSearch .setForeground (Color . gray );
107+ quickSearch .setForeground (quickSearch . getDisabledTextColor () );
108108
109109 attachTreeListeners ();
110110 attachQuickSearchListeners ();
@@ -524,7 +524,7 @@ public void focusGained(final FocusEvent arg0)
524524 if (quickSearch .getText ().equals (TranslatedStrings .QUICK_FILE_SEARCH_NO_FILE_EXTENSION .toString ()))
525525 {
526526 quickSearch .setText ("" );
527- quickSearch .setForeground (Color . black );
527+ quickSearch .setForeground (quickSearch . getSelectedTextColor () );
528528 }
529529 }
530530
@@ -534,7 +534,7 @@ public void focusLost(final FocusEvent arg0)
534534 if (quickSearch .getText ().isEmpty ())
535535 {
536536 quickSearch .setText (TranslatedStrings .QUICK_FILE_SEARCH_NO_FILE_EXTENSION .toString ());
537- quickSearch .setForeground (Color . gray );
537+ quickSearch .setForeground (quickSearch . getDisabledTextColor () );
538538 }
539539 }
540540 });
You can’t perform that action at this time.
0 commit comments