d
This commit is contained in:
12
DemoProjects/src/game/minitennis1/Game.java
Normal file
12
DemoProjects/src/game/minitennis1/Game.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package game.minitennis1;
|
||||
import javax.swing.JFrame;
|
||||
|
||||
public class Game {
|
||||
public static void main(String[] args) {
|
||||
JFrame frame = new JFrame("Mini Tennis");
|
||||
frame.setSize(300, 300);
|
||||
frame.setVisible(true);
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.setLocationRelativeTo(null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user