The Artima Developer Community
Sponsored Link

Java Answers Forum
How do I create a JDialog whose size is Fixed

2 replies on 1 page. Most recent reply: Jun 30, 2003 9:26 AM by CharlesS

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
CharlesS

Posts: 4
Nickname: csant
Registered: Jun, 2003

How do I create a JDialog whose size is Fixed Posted: Jun 27, 2003 12:51 PM
Reply to this message Reply
Advertisement
I have a class that extends JDialog and I do not want the User to resize it?
Is there a way to prevent this?


Kishori Sharan

Posts: 211
Nickname: kishori
Registered: Feb, 2002

Re: How do I create a JDialog whose size is Fixed Posted: Jun 27, 2003 4:36 PM
Reply to this message Reply
Use setResizable ( false ) on your dialog object.

CharlesS

Posts: 4
Nickname: csant
Registered: Jun, 2003

Re: How do I create a JDialog whose size is Fixed Posted: Jun 30, 2003 9:26 AM
Reply to this message Reply
Did not find that myself!
Thankx so much for the obvious tip.
This is a great example of the efficiency of this type of communication!
-CSANT

> I have a class that extends JDialog and I do not want the
> User to resize it?
> Is there a way to prevent this?

Flat View: This topic has 2 replies on 1 page
Topic: updating vectors using Strings/Int Previous Topic   Next Topic Topic: write from text field to .txt document

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use