|
static void | main (String[] args) |
|
Definition at line 3 of file SimpleGUI.java.
◆ main()
static void SimpleGUI.main |
( |
String[] | args | ) |
|
|
inlinestatic |
Definition at line 4 of file SimpleGUI.java.
4 {
5 JFrame frame = new JFrame();
6 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
7 JButton button = new JButton("click me");
8 frame.add(button);
9 frame.setSize(300, 300);
10 frame.setVisible(true);
11 }
The documentation for this class was generated from the following file: