I have a little JFrame that should not appear in the taskbar and that should be undecorated. I achieved it with this code, but the Frame is not displaying any content.
super();
instance = this;
instance.setUndecorated(true);
instance.setType(JFrame.Type.POPUP);
When I replace
instance.setType(JFrame.Type.POPUP); with
instance.setType(JFrame.Type.UTILITY);
it shows the content again, but also shows the Frame in the taskbar.
Thanks in advance! Simon
If you want your frame to be undecorated as well as not visible in desktop you can use JWindow.It has all the functionality similar to
JFrameso replace yourJFramewithJWindowSample JWindow code