JBoss.orgCommunity Documentation
The first way
Click at the right top of the application window.
The second way
Right-click the application icon on the Dockbar and select Quit.
The third way
This way allows you to close all running applications. Right-click any empty area on the desktop page and select Close All from the drop-down menu.
The icon will disappear after the running application has been closed.