setLayout(new BorderLayout());
p = new JPanel(new GridBagLayout());
EmptyBorder eb = new EmptyBorder(5,0,5,5);
BevelBorder bb = new BevelBorder(BevelBorder.LOWERED);
p.setBorder(new CompoundBorder(eb,bb));
Java2Demo.addToGridBag(p,Java2Demo.controls,0,0,1,1,0,0);
Java2Demo.addToGridBag(p,Java2Demo.memorymonitor,0,1,1,1,0,0);
Java2Demo.addToGridBag(p,Java2Demo.performancemonitor,0,2,1,1,0,0);
add(Java2Demo.intro);