[1694] in java-interest

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

main() in beta

daemon@ATHENA.MIT.EDU (Jonathan Fine)
Thu Sep 14 13:12:09 1995

Date: Thu, 14 Sep 1995 10:11:38 -0400 (EDT)
From: Jonathan Fine <jfine@umich.edu>
To: java-interest@java.sun.com


I've been looking at the new JDK applets which embed buttons, such as
CardTest.java and ArcTest.java, and I was wondering what is calling
main() in these applets.  I looked at java.applet.Applet and all its
superclasses, but I couldn't find any reference to main().

In a similar applet that I wrote, I tried a System.out.println()
within main(), and although main() is mysteriously executed, the
System.out.println() inside was never executed.

Could someone help clear this up for me?  Thanks.

 ~jonathan

-
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