[5118] in java-interest
stupid question
daemon@ATHENA.MIT.EDU (James Waldrop)
Mon Jan 29 16:52:42 1996
To: java-interest@java.sun.com
Date: Mon, 29 Jan 1996 12:30:02 -0800
From: James Waldrop <sulam@construct.net>
Ok, so I have a dumb question... ;)
Let's say I am getting a warning like the following:
Foo.java:108: Warning: Public class ImagePanel must be defined in a file called "ImagePanel.java".
public class ImagePanel extends Panel {
^
Foo.java:121: Warning: Public class RenderArea must be defined in a file called "RenderArea.java".
public class RenderArea extends Canvas {
I can stick these in a seperate file, sure, but I'm finding it difficult
to do that and then import them. Also, I see a lot of other applets
with multiple class definitions in one file, so I'm wondering what other
people do to get around this warning.
James
--
James Waldrop / Technical Director
sulam@construct.net / Construct Internet Design
sulam@well.com / http://www.construct.net
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com