File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Modal Window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Modal Window" Watch "Modal Window" New topic
Author

Modal Window

Nicolas Viollin
Greenhorn

Joined: Apr 13, 2001
Posts: 6
Hi !!
I'd like to know if it's possible to make a Window object modal or if no, how to remove the Dialog object's titlebar ??
thnx
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
The Window class itself does not support modal/modeless... only the Dialog class does. (what would the Window be modal to?) And since Dialog is a child of Frame you can't remove the title bar.
[This message has been edited by Thomas Paul (edited April 13, 2001).]


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Bigbrother,
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at "JavaRanch Naming Policy" . We require names to have at least two words (not just letters), separated by a space, and strongly recommend that you use your full real name. We want to get to know you as a Professional. Please choose a new name which meets the requirements and re-register.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
 
subject: Modal Window
 
Similar Threads
IFrame inside a window
What is it called when you force the user to deal with that window before they can move on?
how to handle showModal dialog's X button?
Javascript help : Please
Modal Window