// The "Place" class. import java.applet.*; import java.awt.*; public class Place extends Applet { Button top1 = new Button("part1"); Button top2 = new Button("part2"); Button bottom1 = new Button("part3"); Button bottom2 = new Button("part4"); public void init () { //setLayout(new GridLayout(2,2)); setLayout(new FlowLayout() ); add(top1); add(top2); add(bottom1); add(bottom2); } // init method public void paint (Graphics g) { // Place the body of the drawing method here } // paint method } // Place class