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
shorter way:
1-Alt + Shift + R
2-Ctrl + 4
second way:(in menus of netBeans)
1-go to window tab
2-go to IDE tools
3-click on Test Result
4-again in window tab click on Output