[2766] in java-interest
Re: Where is starting point?
daemon@ATHENA.MIT.EDU (Thomas Ball)
Thu Oct 12 23:18:49 1995
Date: Thu, 12 Oct 1995 18:20:27 -0700
From: Thomas.Ball@Eng.Sun.COM (Thomas Ball)
To: sosarian@nuri.net
Cc: java-interest@java.Eng.Sun.COM
The key is "applet". Java applets are not Java programs, which *do* have
a main(). Java applets are either run by a Java-enabled browser such as
HotJava or Netscape's latest, or the AppletViewer. The AppletViewer
class does have a main(), because it's a Java program.
Applet flow consists of init(), start(), stop(), and destroy(), and are
described in the class documentation for java.applet.Applet.
Tom Ball
Java Products Group
> When I see the source code of SOUND applet in HotJava demo for example,
> I can't find the starting point.
> In C/C++, the starting point is main() function, but java applet doesn't
> have it.
> I don't know flowing steps. Is it a structured programming language?
> Doesn't it have any message loop?
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com