Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.JFrame;
- public class Main extends JFrame{
- Board b = new Board();
- public Main(){
- this.setSize(500, 500);
- this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- this.setVisible(true);
- this.add(b);
- }
- public static void main(String args[]){
- Main m = new Main();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement