diff options
author | Kenneth Russel <[email protected]> | 2006-01-29 04:19:29 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-01-29 04:19:29 +0000 |
commit | e76c4b083265990ae85cd90d5a108ad64457de53 (patch) | |
tree | 828347995e0e2a138d3c695d7f506c1a43be8d3f /src/classes/com/sun/opengl/util/JOGLAppletLauncher.java | |
parent | 81eb2f90a938fa0ac525a01355bcadbf4876787d (diff) |
Added JOGLAppletLauncher.getSubApplet() on request of user Spiff on
javagaming.org forums
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@570 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/util/JOGLAppletLauncher.java')
-rwxr-xr-x | src/classes/com/sun/opengl/util/JOGLAppletLauncher.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java b/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java index d3a460053..0af380255 100755 --- a/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java +++ b/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java @@ -313,6 +313,12 @@ public class JOGLAppletLauncher extends Applet { } + /** Helper method to make it easier to call methods on the + sub-applet from JavaScript. */ + public Applet getSubApplet() { + return subApplet; + } + private boolean checkOSAndArch(String osName, String osArch) { for (int i = 0; i < allNativeLibInfo.length; i++) { NativeLibInfo info = allNativeLibInfo[i]; |