|
@ -3,6 +3,7 @@ package Gui; |
|
|
import java.awt.Font; |
|
|
import java.awt.Font; |
|
|
import java.awt.GridBagConstraints; |
|
|
import java.awt.GridBagConstraints; |
|
|
import java.awt.GridBagLayout; |
|
|
import java.awt.GridBagLayout; |
|
|
|
|
|
import java.awt.Insets; |
|
|
|
|
|
|
|
|
import javax.swing.JButton; |
|
|
import javax.swing.JButton; |
|
|
import javax.swing.JFrame; |
|
|
import javax.swing.JFrame; |
|
@ -34,6 +35,9 @@ public class gui { |
|
|
GridBagConstraints gbc = new GridBagConstraints(); |
|
|
GridBagConstraints gbc = new GridBagConstraints(); |
|
|
gbc.gridwidth = GridBagConstraints.REMAINDER; |
|
|
gbc.gridwidth = GridBagConstraints.REMAINDER; |
|
|
gbc.fill = GridBagConstraints.HORIZONTAL; |
|
|
gbc.fill = GridBagConstraints.HORIZONTAL; |
|
|
|
|
|
gbc.ipadx = 300; |
|
|
|
|
|
gbc.ipady = 100; |
|
|
|
|
|
gbc.insets = new Insets(20, 0, 0, 0); |
|
|
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)); |
|
|