How do I set the minimum size of a JFrame?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nancy_R
Posted On:   Tuesday, September 17, 2002 04:48 PM

How can go about setting the minimum size of a JFrame, so that when a user attempts to make it too small it simply springs back to its minimum size?

Thanks
Nancy

Re: How do I set the minimum size of a JFrame?

Posted By:   prince_sethi  
Posted On:   Wednesday, September 18, 2002 01:39 AM

hello Nancy

try pack() method of JFrame class.
About | Sitemap | Contact