[4940] in java-interest
Getting started
daemon@ATHENA.MIT.EDU (John Grant)
Tue Jan 23 15:21:05 1996
Date: Tue, 23 Jan 1996 10:52:10 -0800
From: John Grant <jgrant@calstatela.edu>
To: java-interest@java.sun.com
I've installed the SDK and am trying to compile the Hello World applet
in the tutorial but am getting the following error messages:
HelloWorld.java:1: Class or interface declaration expected.
Import java.awt.Graphics;
^
HelloWorld.java:6: Class Graphics not found in type declaration.
public void paint(Graphics g){
^
HelloWorld.java:7: Class Graphics not found in void paint(Graphics).
g.drawString("Hello World",50,25);
^
3 errors
Any ideas would be appreciated. If you can send me email directly
I would appreciate my system can not find a dns entry for the newsgroup
hence I can not read it.
John
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com