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