aspose file tools
The moose likes Swing / AWT / SWT and the fly likes create modal JWindow Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "create modal JWindow" Watch "create modal JWindow" New topic
Author

create modal JWindow

Dorj Galaa
Ranch Hand

Joined: May 29, 2001
Posts: 113
how to create modal JWindow? or JDialog not with title bar


Senior software engineer
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Simple answer... you can't... ( well... not without mucking around with JNI and native code... )

The closest you can get is putting a FocusListener on it and doing a toFront() whenever it loses focus... it works, but it doesn't look pretty...

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: create modal JWindow
 
Similar Threads
Displaying a JWindow
Craeting a Modal Window
What is it called when you force the user to deal with that window before they can move on?
Window Title Bar
how to disable minimize option in JFrame