I create a JFrame
and I want two panels one above and one below dividing the JFrame
in two.
InicioAdministrador is the JFrame
InicioPartida is the JPanel
I created everything with visual editor.
I create a JFrame
and I want two panels one above and one below dividing the JFrame
in two.
InicioAdministrador is the JFrame
InicioPartida is the JPanel
I created everything with visual editor.
您将需要布局管理器的众多可能选择之一。我可以在这里解释一下,但我认为http://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html会做得更好;)