Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package image;
- import javax.swing.JFrame;
- public class Image extends JFrame {
- public Image() {
- add(new Board());
- setDefaultCloseOperation(EXIT_ON_CLOSE);
- setSize(280,240);
- setLocationRelativeTo(null);
- setTitle("Nature");
- setVisible(true);
- }
- public static void main(String[] args) {
- new Image();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement