This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm not sure what you are doing wrong at the code level (maybe not using requestFocusInWindow correctly from TopComponent?), but whenever the JUnit Results window is shown when an Ant session w/ unit tests has run, it has no KB focus, even though it is painted as selected. For example, Ctrl-Backspace does not work to make it a sliding window. If you click inside the window with the mouse, then it works.
Confirmed, accepted.
*** Issue 67054 has been marked as a duplicate of this issue. ***
This was fixed together with bug #64305 ("Not able to hide JUnit window with keyboard").