mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
clear keyword search when topcomponent is opened
This commit is contained in:
parent
d50de29090
commit
0f26f7c67c
@ -117,6 +117,12 @@ public class KeywordSearchTopComponent extends TopComponent {
|
|||||||
private javax.swing.JButton searchButton;
|
private javax.swing.JButton searchButton;
|
||||||
// End of variables declaration//GEN-END:variables
|
// End of variables declaration//GEN-END:variables
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void componentOpened() {
|
||||||
|
// clear old search
|
||||||
|
queryTextArea.setText("");
|
||||||
|
}
|
||||||
void addSearchButtonListener(ActionListener l) {
|
void addSearchButtonListener(ActionListener l) {
|
||||||
searchButton.addActionListener(l);
|
searchButton.addActionListener(l);
|
||||||
}
|
}
|
||||||
@ -145,7 +151,6 @@ public class KeywordSearchTopComponent extends TopComponent {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class KeywordSearchServerListener implements PropertyChangeListener {
|
class KeywordSearchServerListener implements PropertyChangeListener {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -168,10 +173,7 @@ public class KeywordSearchTopComponent extends TopComponent {
|
|||||||
default:
|
default:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user