In my application, I show a Jframe at the corner of screen for notification. And I want to show only Jframe and do not display a title bar at task bar.
How can I do that?
In my application, I show a Jframe at the corner of screen for notification. And I want to show only Jframe and do not display a title bar at task bar.
How can I do that?
Try adding a call to setUndecorated(true);. It tells the window manager to not add the title bar and window buttons.
Note: this must be called while the frame is not displayed.
If you want the window to just appear and have neither a title bar nor appear in the taskbar, use a JWindow.
If you want the window to appear and have a title bar but to not appear in the taskbar, use a JDialog.