summaryrefslogtreecommitdiffstats
path: root/src/org/jdesktop/applet/util
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2007-07-26 20:18:29 +0000
committerKenneth Russel <[email protected]>2007-07-26 20:18:29 +0000
commita8f862c63caa2a820f9d3cb1e15c69b444bcab0e (patch)
treea9c5ff9e20d51c365cc50b2bdd820e4a93bc52ab /src/org/jdesktop/applet/util
parent6259d86ed536a0d7b4b776b94de0c6e34b02b9e7 (diff)
Added overrides and forwards of stop() and destroy() based on feedback
from Patrick Murris
Diffstat (limited to 'src/org/jdesktop/applet/util')
-rw-r--r--src/org/jdesktop/applet/util/JNLPAppletLauncher.java18
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() {