A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
create modal JWindow
Joined: May 29, 2001
Nov 27, 2001 02:48:00
how to create modal JWindow? or JDialog not with title bar
Senior software engineer
Joined: Oct 18, 2000
Nov 27, 2001 05:43:00
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...
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: create modal JWindow
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014