How to change the size of a JFilechooser?

0

Hello, I would like to know if anyone knows any way to increase the size of a JFileChooser like this:

I would like it to fill up all the space left over on the screen, to make it easier to locate the files. Thank you in advance, Good Night!

    
asked by anonymous 01.12.2015 / 23:47

1 answer

0

Try chooser.setSize(new Dimension(x, y)); .
Replace x and y with a value of your choice.

    
02.12.2015 / 00:04