Guest User

Untitled

a guest
Nov 24th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. /**
  2. *@// TODO: 22.11.2017 19:32
  3. * @Version Beta 1.0
  4. * */
  5. package rnd_game;
  6. import rnd_game.img.BackEnd;
  7.  
  8. import javax.swing.*;
  9.  
  10. public class Win {
  11. public static void main(String[] args) {
  12. Dream cpn = new Dream("Guess the number");
  13. Dream.hoh();
  14. BackEnd.hoh();
  15.  
  16. cpn.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
  17. cpn.setVisible(true);
  18. cpn.setSize(600, 400);
  19. cpn.setLocationRelativeTo(null);
  20. cpn.setLayout(null);
  21. cpn.setResizable(false);
  22. JFrame cpn2 = new JFrame("title");
  23. cpn2.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
  24. cpn2.setVisible(true);
  25. cpn2.setSize(600, 400);
  26. cpn2.setLocationRelativeTo(null);
  27. cpn2.setLayout(null);
  28. cpn2.setResizable(false);
  29. //Dream.hoh();
  30. }
  31. }
Add Comment
Please, Sign In to add comment