This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Modal Window" Watch "Modal Window" New topic

Modal Window

Nicolas Viollin

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 ??
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"

Joined: Sep 29, 2000
Posts: 8521
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
I agree. Here's the link:
subject: Modal Window
It's not a secret anymore!