How do I prevent JDialog from showing in gnome-panel(Linux)?

Posted by aeter on Stack Overflow See other posts from Stack Overflow or by aeter
Published on 2010-03-13T16:36:52Z Indexed on 2010/03/13 16:45 UTC
Read the original article Hit count: 251

Filed under:
|
|
|
|

I have a class:

public class ANote extends JDialog{...}

In GNOME(Linux) it shows an entry in the gnome-panel. I want it to show nothing (the same way it does in the taskbar in Windows), because there may be present several instances of the class simultaneously, and this overcrowds the gnome-panel.

How do I prevent it from showing an instance in the gnome-panel?

EDIT: So far I have tried playing with the modality, which hides it from the gnome-panel, but blocks the main frame of the application behind the ANote instances.

© Stack Overflow or respective owner

Related posts about java

Related posts about linux