This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Hide Frame or Dialog from System task bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Hide Frame or Dialog from System task bar" Watch "Hide Frame or Dialog from System task bar" New topic
Author

Hide Frame or Dialog from System task bar

Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684


Hi,

I am working on Swing base enterprise application. In that I have requirement like application open multiple error or information dialog or frame, Other functional dialog and frame. But my requirement is I want to hide that all dialog and frame from the TastBar. So after opening multiple dialog and frame there will be only one Frame display at my tastbar which is my application first frame and after all frame looks like part of that frame so that I want to hide all other dialog or frame from task bar.


Is there any way to hide this ??



Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2153
    
    7
Use a JDialog. Dialogs to not show up on the task bar.
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684


ya,

That's correct but using your option if I use JOptionPane, JRootPane, RootPaneContainer or extending with this It will remove my Dialog property and I am unable to create what I want...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hide Frame or Dialog from System task bar
 
Similar Threads
Modal dialog box and request focus
questions regarding system tray and tray icon
System Tray icon for the Swings application
JDialog --PLS HELP !!
Jdialog issue