您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)


Content Index

Content Page # 16

When does a Java applet stop?

A Java applet stops when it is instructed to do so by the Web browser or applet viewer. Normally the programmer does not have to worry too much about this.

An applet is embedded in another program, usually a Web browser. If the user of the browser changes to another Web page, for example, the applet must be able to stop immediately. The browser will signal to the applet that it is about to be stopped, by calling, among others, its stop method. The programmer only needs to do anything about this if there are certain actions that the applet must carry out before it is stopped.


basicline.gif (169 bytes)

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg