This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Jdialog issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jdialog issue " Watch "Jdialog issue " New topic
Author

Jdialog issue

swapnel surade
Ranch Hand

Joined: Mar 05, 2009
Posts: 129
I want to create a dialog. When that dialog opens after that if any app open then that should not go behind my dialog.
It work just like startup bar in windows (all application adjust there spacing on size of that tab)

how to achieve this in JDialog

thanks
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Check out isAlwaysOnTop(), isAlwaysOnTopSupported() and setAlwaysOnTop(), all methods in java.awt.Window and therefore inherited by JDialog.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
jQuery in Action, 2nd edition
 
subject: Jdialog issue
 
Similar Threads
JFrame to be modal
Dialog modality problem
JFrame focus
Help Dialog question
How can I get the feature ALWAYS_ON_TOP with the swing JFrames.