Yes. (If you have not seen applets yet, you can skip to the end of this chapter.)
The GUI components from Swing can be used by applets.
Here is the JApplet
version of the
text echo application:
Here is the HTML that placed this applet on this Web page:
<center> <applet code="TextRepeaterApplet.class" width="300" height="100"> </applet> </center>
When the user types into the top text fieldof the applet and hit return, what type of event is generated?