by Dinesh Thakur Category: AWT and Applets

The AWT allows us to use various graphical components. When we start writing any applet program we essentially import two packages namely - java.awt and java.applet.

The java.applet package contains a class Applet which uses various interfaces such as AppletContext, AppletStub and AudioCIip. The applet class is an extension of Panel class belonging to java.awt package.

To create an user friendly graphical interface we need to place various components on GUI window. There is a Component class from java.awt package which derives several classes for components. These classed include Check box, Choice, List, buttons and so on. The Component class in java.awt is an abstract class.

The class hierarchy for Applets is as shown in Fig.

                       Applet class hierarchy



About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.



Related Articles