[2850] in java-interest
Re: frustrating error
daemon@ATHENA.MIT.EDU (Jim Graham)
Tue Oct 17 20:05:07 1995
Date: Tue, 17 Oct 1995 15:25:01 -0700
From: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
To: java-interest@java.Eng.Sun.COM, mentor@io.org
> java.lang.NoSuchMethodError
> at sun.applet.AppletPanel.run(AppletPanel.java:221)
> at java.lang.Thread.run(Thread.java)
>
> Now, that's helpful! Just which method is missing? (I would normally go
> chasing off to look at sun.applet.AppletPanel, but I don't have that
> file...).
I believe this will happen if you don't implement a constructor with a
null argument list. You will have a "null constructor" if you don't
implement any constructors at all (a null constructor is inserted for
you) or if you explicitly implement a constructor with an empty argument
list. But, if your Applet implements a constructor that has some arguments
and doesn't explicitly implement a null constructor, you will get this
error...
...jim
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com