my name is glen lacock
I a student at uop and a writer
My first book has been writing and is on B and N nook.
I here for some help with my code
I have one erro that I can not find
Please any help would be great
glen
/*Programmer: GLen Lacock * Date: 3/22/2011 * Filename: helloworld * Purpose: This program to show hello world and jlabel */ /* java libraries*/ import java.awt.*; import javax.swing.*; public class Helloworld extends JFrame { public static void main(String argv[]) { new SwingHelloWorld("I am Student at UOP"); } } public HelloWorld(String name) { super(name); this.setDefaultCloseOperation(EXIT_ON_CLOSE); JLabel label = new JLabel("Hello, world!"); label.setPreferredSize(new Dimension(210, 80)); this.getContentPane().add(label); this.pack(); this.setVisible(true); }