Advertisement
Guest User

Image.java

a guest
Jul 5th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. package image;
  2.  
  3. import javax.swing.JFrame;
  4.  
  5. public class Image extends JFrame {
  6.  
  7.  
  8. public Image() {
  9.  
  10. add(new Board());
  11.  
  12. setDefaultCloseOperation(EXIT_ON_CLOSE);
  13. setSize(280,240);
  14. setLocationRelativeTo(null);
  15. setTitle("Nature");
  16. setVisible(true);
  17. }
  18.  
  19. public static void main(String[] args) {
  20. new Image();
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement