How do I debug an applet?

Since applet behavior is strongly influenced by the web browser in which it runs, best to embed the applet in a web application (which could be simply static HTML pages).

Integrating an Applet in a Web Application

Applets run in the JVM of the web browser. The IDE itself uses a different JVM and therefore applets are not immediately accessible from a web application's debug session. When the applet runs in the context of a web browser, we need to use remote debugging. Remote debugging of applets presently requires substantial manual setup.


For older tutorials ...

NetBeans IDE 4.1 Tutorial for Applets -- this file has been moved to the NetBeans 4.1 Docs Archive.

Tutorial for 5.x -- this file has been moved to the NetBeans 5.0 Docs Archive.

Applies to: NetBeans 4.0, 4.1, 5.0, and 6.x

Platforms: All

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo