[5933] in java-interest

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

Re: help with compiler error

daemon@ATHENA.MIT.EDU (eric@onshore.com)
Tue Mar 5 17:53:18 1996

From: eric@onshore.com
Date: Tue, 05 Mar 1996 08:49:35 -0600
To: Brian Serviss <cn1019@coastalnet.com>,
        "'java-interest@java.sun.com'" <java-interest@java.Eng.Sun.COM>

At 05:48 PM 3/1/96 -0500, Brian Serviss wrote:
>Hi All,
>
>I guess I'm a little new to Java. Anyway, when I compile the example
program from "60 minute guide to Java" the following error pops up:
>
>docfooter.java:6: Warning: Public class DocFooter must be defined in a file
called "DocFooter.java".
>public class DocFooter extends Applet{

Look at the name of your file versus the name that the compiler is suggesting.

Does someone want to do a FAQ?

Eric

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

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