setPreferredSize doesn't do anything here, setMaximumSize does work. I'm still confused why the first example does work though, since I can't see any real difference between the two examples.
Type: Posts; User: Harry Blargle
setPreferredSize doesn't do anything here, setMaximumSize does work. I'm still confused why the first example does work though, since I can't see any real difference between the two examples.
I have a weird problem with laying out some JTextFields.
This code works right:
JPanel setbuttonpanel = new JPanel();
setbuttonpanel.setLayout( new...