It often happens to me that I want to clear the current output window by using the context menu, but instead of hitting the Clear entry, I accidently hit the
In NetBeans 7.4,
Under Window menu, click on "Reset Window".
Then NetBeans will disappear and reappear.
At last, after it reappears, click on "Output" under Window menu.