|
static void | main (String[] args) |
|
Definition at line 4 of file BorderLayoutEx.java.
◆ go()
void BorderLayoutEx.go |
( |
| ) |
|
|
inline |
Definition at line 10 of file BorderLayoutEx.java.
10 {
11 JFrame frame = new JFrame();
12 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
13 JButton button = new JButton("click me");
14
15 frame.add(button, BorderLayout.EAST);
16 frame.setSize(200, 200);
17 frame.setVisible(true);
18 }
Referenced by main().
◆ main()
static void BorderLayoutEx.main |
( |
String[] | args | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: