JFileChooser
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Asia_Kraft
Posted On:   Friday, July 12, 2002 03:02 AM

How can I disable my filechooser from resizing?
Thanks

Re: JFileChooser

Posted By:   Anonymous  
Posted On:   Friday, July 12, 2002 01:33 PM

JFileChooser inherits the setSize () method from javax.accessibility.AccessibleComponent. If you know the size you want it to stay at you can try using:


JFileChooser chooser = new JFileChooser ();
chooser.setSize (new Dimension (int width, int height));
About | Sitemap | Contact