|
|
@ -1,14 +1,22 @@ |
|
|
|
package Gui; |
|
|
|
|
|
|
|
import java.awt.GridLayout; |
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
|
|
public class GameGui { |
|
|
|
|
|
|
|
public static JPanel MainPanel, ButtonPanel, headingPanel; |
|
|
|
GridLayout grid; |
|
|
|
|
|
|
|
|
|
|
|
public void createGui() { |
|
|
|
MainPanel = new JPanel(); |
|
|
|
ButtonPanel = new JPanel(); |
|
|
|
headingPanel = new JPanel(); |
|
|
|
grid = new GridLayout(2,1); |
|
|
|
grid.setVgap(150); |
|
|
|
headingPanel.setLayout(grid); |
|
|
|
gui.Frame.add(MainPanel); |
|
|
|
} |
|
|
|
} |