|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Simple GLEventListener deployment as an applet using JOGL. More...
Public Member Functions | |
| NativeWindowDownstream | createNativeWindow (final Applet3Context ctx, final NativeWindowUpstream upstreamWin) |
| void | init (final Applet3Context ctx) |
| void | start () |
| void | stop () |
| void | destroy () |
| String | getAppletInfo () |
| Locale | getLocale () |
| String[][] | getParameterInfo () |
Static Public Attributes | |
| static final boolean | DEBUG = JOGLNewtAppletBase.DEBUG |
Simple GLEventListener deployment as an applet using JOGL.
This demo must be referenced from a web page via an <applet> tag.
Example of an applet tag using GearsES2 within the applet area (normal case):
<applet width=100 height=100>
<param name="java_arguments" value="-Dsun.java2d.noddraw=true">
<param name="gl_event_listener_class" value="com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2">
<param name="gl_profile" value="GL2">
<param name="gl_swap_interval" value="1">
<param name="gl_debug" value="false">
<param name="gl_trace" value="false">
<param name="jnlp_href" value="jogl-newt-applet-runner.jnlp">
</applet>Hello Gears !
Example of an applet tag using GearsES2 in an undecorated, translucent, closeable and always-on-top window:
<applet width=1 height=1>
<param name="java_arguments" value="-Dsun.java2d.noddraw=true">
<param name="gl_event_listener_class" value="com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2">
<param name="gl_profile" value="GL2">
<param name="gl_swap_interval" value="1">
<param name="gl_undecorated" value="true">
<param name="gl_alwaysontop" value="true">
<param name="gl_closeable" value="true">
<param name="gl_alpha" value="1">
<param name="gl_multisamplebuffer" value="0">
<param name="gl_opaque" value="false">
<param name="gl_dx" value="10">
<param name="gl_dy" value="0">
<param name="gl_width" value="100">
<param name="gl_height" value="100">
<param name="gl_nodefaultkeyListener" value="true">
<param name="gl_debug" value="false">
<param name="gl_trace" value="false">
<param name="jnlp_href" value="jogl-newt-applet-runner.jnlp">
</applet>Hello Gears !
Definition at line 98 of file JOGLNewtApplet3Run.java.
| NativeWindowDownstream com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.createNativeWindow | ( | final Applet3Context | ctx, |
| final NativeWindowUpstream | upstreamWin | ||
| ) |
| void com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.destroy | ( | ) |
Definition at line 330 of file JOGLNewtApplet3Run.java.
| String com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.getAppletInfo | ( | ) |
Definition at line 346 of file JOGLNewtApplet3Run.java.
| Locale com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.getLocale | ( | ) |
Definition at line 351 of file JOGLNewtApplet3Run.java.
| String[][] com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.getParameterInfo | ( | ) |
Definition at line 356 of file JOGLNewtApplet3Run.java.
| void com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.init | ( | final Applet3Context | ctx | ) |
| void com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.start | ( | ) |
| void com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.stop | ( | ) |
|
static |
Definition at line 99 of file JOGLNewtApplet3Run.java.