We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0b569d commit f9e15f4Copy full SHA for f9e15f4
src/main/java/org/scijava/ui/swing/script/TextEditor.java
@@ -695,7 +695,12 @@ public TextEditor(final Context context) {
695
});
696
filter.addFocusListener(new FocusListener() {
697
@Override
698
- public void focusLost(FocusEvent e) {}
+ public void focusLost(FocusEvent e) {
699
+ if (0 == filter.getText().length()) {
700
+ filter.setForeground(Color.gray);
701
+ filter.setText("filter...");
702
+ }
703
704
705
706
public void focusGained(FocusEvent e) {
0 commit comments