Applications
in Java |
Prof. David Bernstein |
Computer Science Department |
bernstdh@jmu.edu |
main()
JFrame
(or Frame
)main()
method is executed in a non-daemon thread called the main
thread.System.exit()
method is called,
in response to a platform-specific event such as a
SIGINT
or a Ctrl-C
, or when the
main thread "drops out of" the main()
method.System.exit()
method is called, in response to
a platform specific event, or when all non-daemon threads
have died.CLASSPATH
environment variable is used to
identify the location of packages.