|
@ -5,11 +5,16 @@ import javax.swing.JFrame; |
|
|
public class gui { |
|
|
public class gui { |
|
|
JFrame jf; |
|
|
JFrame jf; |
|
|
|
|
|
|
|
|
|
|
|
public static int width = 800, height = 600; |
|
|
|
|
|
|
|
|
public void create(){ |
|
|
public void create(){ |
|
|
jf = new JFrame("Wer wird Millionr"); |
|
|
jf = new JFrame("Wer wird Millionr"); |
|
|
|
|
|
jf.setSize(width,height); |
|
|
jf.setVisible(true); |
|
|
jf.setVisible(true); |
|
|
|
|
|
jf.setLocationRelativeTo(null); |
|
|
|
|
|
jf.setResizable(false); |
|
|
|
|
|
jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|