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 the right bottom edge there are information about NetBeans updates. Left to it, there's the tasks running (building, running application etc). Click on it, right click the process you want and select Show Output.