Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package window_st;
- import javax.swing.JFrame;
- public class GuiDisplay extends JFrame{
- public static void main(String[] args){
- GuiDisplay test = new GuiDisplay();
- test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- test.setVisible(true);
- }
- GuiDisplay(){
- setTitle("swing.JFrame.test");
- setBounds( 500, 500, 500, 500);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement