QUOTE(jmuckey2 @ 15 Oct, 2008 - 05:02 PM)

[ code] [ /code] i must br pretty dumb because i dont know what you mean by that
import javax.swing.JOptionPane;
import javax.swing.JComponent;
import java.awt.Graphics;
import java.awt.Graphics2D;
/**
Draws "HELLO".
*/
public class HelloComponent extends JComponent
{
public void paintComponent(Graphics g)
{
Graphics2D g2 = (Graphics2D) g;
LetterH h = new LetterH();
LetterE e = new LetterE();
LetterL l1 = new LetterL();
LetterL l2 = new LetterL();
LetterO o = new LetterO();
LetterH.draw(g2);
LetterE.draw(g2);
LetterL1.draw(g2);
LetterL2.draw(g2);
LetterO.draw(g2);
C:\Documents and Settings\default\Desktop\Josh's Java Stuff\HelloComponent.java:22: cannot find symbol
symbol : variable Letterh
location: class HelloComponent
Letterh.draw(g2);
^
C:\Documents and Settings\default\Desktop\Josh's Java Stuff\HelloComponent.java:23: cannot find symbol
symbol : variable Lettere
location: class HelloComponent
Lettere.draw(g2);
^
C:\Documents and Settings\default\Desktop\Josh's Java Stuff\HelloComponent.java:24: cannot find symbol
symbol : variable Letterl1
location: class HelloComponent
Letterl1.draw(g2);
^
C:\Documents and Settings\default\Desktop\Josh's Java Stuff\HelloComponent.java:25: cannot find symbol
symbol : variable Letterl2
location: class HelloComponent
Letterl2.draw(g2);
^
C:\Documents and Settings\default\Desktop\Josh's Java Stuff\HelloComponent.java:26: cannot find symbol
symbol : variable Lettero
location: class HelloComponent
Lettero.draw(g2);
^
5 errors
Tool completed with exit code 1