O'Reilly logo

Java: The Complete Reference, 10th Edition by Herbert Schildt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

APPENDIX

D   Applet Basics

As explained earlier in this book, JDK 9 deprecates the applet API. As a result, applets are not recommended for new code, with Java Web Start providing an excellent alternative. However, you may encounter legacy applets that require maintenance or that need to be converted into applications. Thus, for the benefit of those readers working with legacy applets, this appendix provides a brief introduction to the basics.

Applets are based on the Applet class. The Applet class is contained in the java.applet package. Beginning with JDK 9, this package is part of the java.desktop module. Applet contains several methods that give you detailed control over the execution of your applet. In addition, java.applet defines three ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required