When we run an java GUI application in windows or Mac, it appears in taskbar or dock as shown below.
In Windows Taskbar:

In Mac Dock:

I was wondering if there is a way to hide or remove the application from taskbar/dock. I mean the GUI application will run but it will not be shown in dock/taskbar.
Thanks in advance.
Try to replace JFrame with JDialog.