|
@ -1,6 +1,7 @@ |
|
|
package Gui; |
|
|
package Gui; |
|
|
|
|
|
|
|
|
import java.awt.Font; |
|
|
import java.awt.Font; |
|
|
|
|
|
import java.awt.GridBagConstraints; |
|
|
import java.awt.GridBagLayout; |
|
|
import java.awt.GridBagLayout; |
|
|
|
|
|
|
|
|
import javax.swing.JButton; |
|
|
import javax.swing.JButton; |
|
@ -30,6 +31,9 @@ public class gui { |
|
|
Panel = new JPanel(); |
|
|
Panel = new JPanel(); |
|
|
Panel.setSize(width,height); |
|
|
Panel.setSize(width,height); |
|
|
Panel.setLayout(new GridBagLayout()); |
|
|
Panel.setLayout(new GridBagLayout()); |
|
|
|
|
|
GridBagConstraints gbc = new GridBagConstraints(); |
|
|
|
|
|
gbc.gridwidth = GridBagConstraints.REMAINDER; |
|
|
|
|
|
gbc.fill = GridBagConstraints.HORIZONTAL; |
|
|
Label = new JLabel("MiniGames"); |
|
|
Label = new JLabel("MiniGames"); |
|
|
Label.setHorizontalAlignment(JLabel.CENTER); |
|
|
Label.setHorizontalAlignment(JLabel.CENTER); |
|
|
Label.setFont(new Font("Serif", Font.BOLD, 28)); |
|
|
Label.setFont(new Font("Serif", Font.BOLD, 28)); |
|
|