This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Resizing the JDialog only width not height Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Resizing the JDialog only width not height" Watch "Resizing the JDialog only width not height" New topic
Author

Resizing the JDialog only width not height

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 288

Hi All

I want to make a JDailog, which can be resizable
But only Width not Height.

How can we do this?


-Chiru
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Here's one way:Feel free to ask if there's anything you don't understand about the approach.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resizing the JDialog only width not height
 
Similar Threads
Khalid's Exam
question on initialization
buttons display problem in IE and FireFox
Problem with JDialog and setSize()
show dilog at bottom of the screen