Select Git revision
App.java 467 B
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package brickbreaker;
import javax.swing.JFrame;
public class App {
public static void main(String[] args) {
JFrame obj = new JFrame();
GamePanel gamePanel = new GamePanel();
obj.setBounds(10, 10, 700, 600);
obj.setTitle("Brick Breaker");
obj.setResizable(false);
obj.setVisible(true);
obj.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
obj.add(gamePanel);
}
}