Hi,
I have a problem centering my GUI components. I've got a JPanel which is placed at BorderLayout.CENTER and the problem is the JPanel is too high up. In what means can i shift it downwards, resulting it being centralised?
Printable View
Hi,
I have a problem centering my GUI components. I've got a JPanel which is placed at BorderLayout.CENTER and the problem is the JPanel is too high up. In what means can i shift it downwards, resulting it being centralised?
Use multiple nested Layout Managers
If everything is in panels, then you can use setBounds(int,int,int,int);