Hide output windows
"kovica" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi!
In my application I have output window in a minimized window group. I can show it using this code:
TopComponent outputWindow = WindowManager.getDefault().findTopComponent("output");
if (outputWindow != null) {
if (outputWindow.isOpened() == false) {
outputWindow.open();
}
outputWindow.requestVisible();
}
this brings it up and pressing ESC hides it again.
How can I do so that it will hide after 5 secounds?
Best regards,
Kovi