home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java by Example
/
jbecd.bin
/
JBE-CD
/
NTUsers
/
JBECODE.ZIP
/
JavaByExample
/
chap22
/
lst22_4.txt
< prev
next >
Wrap
Text File
|
1996-02-29
|
358b
|
14 lines
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);