Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. package project1;
  2.  
  3. import javax.swing.*;
  4.  
  5. public class MyTimer {
  6.  
  7. public static void main(String[] args) {
  8.  
  9. JFrame frame = new JFrame("GEO Count Down Timer!");
  10. frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  11.  
  12. MyTimerPanel panel = new MyTimerPanel();
  13. //mainPanel panel = new mainPanel();
  14. frame.getContentPane().add(panel);
  15.  
  16. frame.setSize(550, 170);
  17. frame.setVisible(true);
  18. frame.setResizable(true);
  19.  
  20. }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement