diff options
author | Kenneth Russel <[email protected]> | 2007-07-26 20:18:29 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2007-07-26 20:18:29 +0000 |
commit | a8f862c63caa2a820f9d3cb1e15c69b444bcab0e (patch) | |
tree | a9c5ff9e20d51c365cc50b2bdd820e4a93bc52ab | |
parent | 6259d86ed536a0d7b4b776b94de0c6e34b02b9e7 (diff) |
Added overrides and forwards of stop() and destroy() based on feedback
from Patrick Murris
-rw-r--r-- | src/org/jdesktop/applet/util/JNLPAppletLauncher.java | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/org/jdesktop/applet/util/JNLPAppletLauncher.java b/src/org/jdesktop/applet/util/JNLPAppletLauncher.java index 41ea9a5..f453450 100644 --- a/src/org/jdesktop/applet/util/JNLPAppletLauncher.java +++ b/src/org/jdesktop/applet/util/JNLPAppletLauncher.java @@ -37,8 +37,8 @@ * intended for use in the design, construction, operation or * maintenance of any nuclear facility. * - * $Revision: 1.21 $ - * $Date: 2007/07/24 21:14:36 $ + * $Revision: 1.22 $ + * $Date: 2007/07/26 20:18:29 $ * $State: Exp $ */ @@ -913,6 +913,20 @@ public class JNLPAppletLauncher extends Applet { } + /* @Override */ + public void stop(){ + if (subApplet != null) { + subApplet.stop(); + } + } + + /* @Override */ + public void destroy(){ + if (subApplet != null) { + subApplet.destroy(); + } + } + /** Helper method to make it easier to call methods on the sub-applet from JavaScript. */ public Applet getSubApplet() { |