home *** CD-ROM | disk | FTP | other *** search
- BorderLayout layout = new BorderLayout(0, 0);
- setLayout(layout);
- button1 = new Button("Button1");
- button2 = new Button("Button2");
- button3 = new Button("Button3");
- button4 = new Button("Button4");
- button5 = new Button("Button5");
- add("North", button1);
- add("South", button2);
- add("East", button3);
- add("West", button4);
- add("Center", button5);
-
-