Compare commits
No commits in common. "848cdbe5d89f446e1ed8c1fc8ce84d76d5425843" and "8fcee3f4e72f5b0704c5509eb9d50cd449d687e2" have entirely different histories.
848cdbe5d8
...
8fcee3f4e7
@ -1,19 +0,0 @@
|
|||||||
package Tetris;
|
|
||||||
|
|
||||||
import javax.swing.JFrame;
|
|
||||||
|
|
||||||
public class GameGui {
|
|
||||||
public static final int width= 445, height =629;
|
|
||||||
private JFrame window;
|
|
||||||
|
|
||||||
public GameGui(){
|
|
||||||
window = new JFrame("Tetris");
|
|
||||||
window.setSize(width,height);
|
|
||||||
window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
||||||
window.setResizable(false);
|
|
||||||
window.setVisible(true);
|
|
||||||
}
|
|
||||||
public static void main(String [] args){
|
|
||||||
new GameGui();
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user