Advertisement
TrodelHD

Untitled

May 31st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. package GUI;
  2.  
  3. import javax.swing.JFrame;
  4.  
  5. public class MainFrame extends JFrame {
  6. public static final int FrameX = 700;
  7. public static final int FrameY = 900;
  8.  
  9. public MainFrame() {
  10. super.setSize(FrameX,FrameY);
  11. super.setLocationRelativeTo(null);
  12. }
  13.  
  14.  
  15. public float getNormalFrameY() {
  16. return FrameY;
  17. }
  18.  
  19. public float getNormalFrameX() {
  20. return FrameX;
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement