Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final int h = 600;
- final int w = 600;
- QScreen screen = new QScreen(w, h, 24);
- JFrame f = new JFrame();
- f.setResizable(true);
- f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- f.setLocationRelativeTo(null);
- f.add(screen);
- f.setTitle("Example");
- f.setSize(w, h);
- f.setVisible(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement