Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Java 8 in Action this week in the Java 8 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: 19552
    
  16

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jdialog issue
 
Similar Threads
Help Dialog question
JFrame focus
How can I get the feature ALWAYS_ON_TOP with the swing JFrames.
Dialog modality problem
JFrame to be modal