[2318] in java-interest

home help back first fref pref prev next nref lref last post

Help with Helloworld

daemon@ATHENA.MIT.EDU (Stephen Frazza)
Fri Sep 29 08:46:37 1995

Date: Wed, 27 Sep 1995 16:12:45 -0400
From: stephen@gozer.the-coast.com (Stephen Frazza)
To: java-interest@java.Eng.Sun.COM

I am just starting to learn java and I need help.When I try to compile the
HelloWorld.java  file I keep getting this:

HelloWorld.java:7: Class Graphics not found in type declaration.
    public void paint(Graphics g) {
                ^
HelloWorld.java:8: Class Graphics not found in void paint(Graphics).
        g.drawstring("Hello world!",50, 25);
                    ^
2 errors

Could someone help me with this.I have made sure the file is written exactly 
like it should be.So could someone please help me.

I am sure I woill need more help in the future so if anyone wants to e-mail me 
please do :    
           stephen@the-coast.com
Thank you.

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post