home *** CD-ROM | disk | FTP | other *** search
/ Java by Example / jbecd.bin / JBE-CD / NTUsers / JBECODE.ZIP / JavaByExample / chap22 / lst22_2.txt < prev    next >
Text File  |  1996-02-29  |  236b  |  11 lines

  1. FlowLayout layout =
  2.     new FlowLayout(FlowLayout.LEFT, 10, 10);
  3. setLayout(layout);
  4. button1 = new Button("Button1");
  5. button2 = new Button("Button2");
  6. button3 = new Button("Button3");
  7. add(button1);
  8. add(button2);
  9. add(button3);
  10.  
  11.