![]() For the most part, your applet should not enter a “mode” of operation in which it maintains control for an extended period. ![]() Once this happens, the applet must take appropriate action and then quickly return control to the AWT. The AWT notifies the applet about an event by calling an event handler that has been provided by the applet. An applet resembles a set of interrupt service routines. Although we won’t examine event handling until the following chapter, it is important to understand in a general way how the event-driven architecture impacts the design of an applet.
0 Comments
Leave a Reply. |