Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modal Window

 
Nicolas Viollin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic