Hello Swing, Good Bye AWT
public class HelloWorld extends JFrame {
Button bOld; public JButton bNew;
bNew = new JButton("Hello");
bOld = new Button ("Good Bye");
p.add(bNew); p.add(bOld);
this.getContentPane().add(p);
public static void main(String arg[]){
SEE CAUTIONARY NOTE RE: Mixing light
and heavyweight components!