Does anyone know of a way to hide the taskbar button of a JFrame in
Windows?
My application opens a lot of windows, but only one is active at a
time, so only one taskbar button is required.
This is especially annoying in WinXP, as when the frames are grouped,
they are given the standard Java icon..
Cheers
Peet
Steve W. Jackson - 31 Jan 2005 21:41 GMT
> Does anyone know of a way to hide the taskbar button of a JFrame in
> Windows?
[quoted text clipped - 8 lines]
>
> Peet
I'm not aware of any way to do this in native Java. But you can do
everything in a JDialog that you can do in a JFrame, for the most part,
so why not use dialogs instead of additional frames? They don't result
in anything on the task bar.
= Steve =

Signature
Steve W. Jackson
Montgomery, Alabama
Paul van Rossem - 31 Jan 2005 22:43 GMT
> Does anyone know of a way to hide the taskbar button of a JFrame in
> Windows?
[quoted text clipped - 8 lines]
>
> Peet
From your description I wonder if you really want that many frames
open/visible at the same time. If the user really needs all those
windows, then you should *not* hide them from the taskbar. If the user
doesn't need them all visible at the same time, then hide the frames
your user doesn't need (setVisible(false)) and they will disappear from
the taskbar as well (without any extra effort from you).
paul.