Deprecated
as a consequence of Applet being deprecated. See corresponding docs for further information.
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 !
| Modifier and Type | Field and Description |
|---|---|
| pack-priv JOGLNewtAppletBase | base
Hides java. |
| public static final boolean | |
| pack-priv int | glHeight
if valid glStandalone:=true (own window) ! |
| pack-priv int | glWidth
if valid glStandalone:=true (own window) ! |
| pack-priv GLWindow | |
| pack-priv int | glXd
if valid glStandalone:=true (own window) ! |
| pack-priv int | glYd
if valid glStandalone:=true (own window) ! |
| pack-priv NewtCanvasAWT |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| public void | destroy()
Overrides java. |
| public void | init()
Overrides java. |
| public void | start()
Overrides java. |
| public void | stop()
Overrides java. |
| base | back to summary |
|---|---|
| pack-priv JOGLNewtAppletBase base Hides java. | |
| DEBUG | back to summary |
|---|---|
| public static final boolean DEBUG | |
| glHeight | back to summary |
|---|---|
| pack-priv int glHeight if valid glStandalone:=true (own window) ! | |
| glWidth | back to summary |
|---|---|
| pack-priv int glWidth if valid glStandalone:=true (own window) ! | |
| glWindow | back to summary |
|---|---|
| pack-priv GLWindow glWindow | |
| glXd | back to summary |
|---|---|
| pack-priv int glXd if valid glStandalone:=true (own window) ! | |
| glYd | back to summary |
|---|---|
| pack-priv int glYd if valid glStandalone:=true (own window) ! | |
| newtCanvasAWT | back to summary |
|---|---|
| pack-priv NewtCanvasAWT newtCanvasAWT | |
| JOGLNewtApplet1Run | back to summary |
|---|---|
| public JOGLNewtApplet1Run() | |
| currentThreadName | back to summary |
|---|---|
| private static String currentThreadName() | |
| destroy | back to summary |
|---|---|
| public void destroy() Overrides java. Doc from java. Called by the browser or applet viewer to inform this applet that it is
being reclaimed and that it should destroy any resources that it has
allocated. The
A subclass of
The implementation of this method provided by the
| |
| init | back to summary |
|---|---|
| public void init() Overrides java. Doc from java. Called by the browser or applet viewer to inform this applet that it has
been loaded into the system. It is always called before the first time
that the
A subclass of
The implementation of this method provided by the
| |
| start | back to summary |
|---|---|
| public void start() Overrides java. Doc from java. Called by the browser or applet viewer to inform this applet that it
should start its execution. It is called after the
A subclass of Note some methods, such as
The implementation of this method provided by the
| |
| stop | back to summary |
|---|---|
| public void stop() Overrides java. Doc from java. Called by the browser or applet viewer to inform this applet that it should stop its execution. It is called when the Web page that contains this applet has been replaced by another page, and also just before the applet is to be destroyed.
A subclass of
The implementation of this method provided by the
| |