JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.newt.util.applet3.JOGLNewtApplet3Run Class Reference

Simple GLEventListener deployment as an applet using JOGL. More...

Inheritance diagram for com.jogamp.newt.util.applet3.JOGLNewtApplet3Run:
Collaboration diagram for com.jogamp.newt.util.applet3.JOGLNewtApplet3Run:

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
 

Detailed Description

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.

Member Function Documentation

◆ createNativeWindow()

NativeWindowDownstream com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.createNativeWindow ( final Applet3Context  ctx,
final NativeWindowUpstream  upstreamWin 
)

Definition at line 116 of file JOGLNewtApplet3Run.java.

Here is the call graph for this function:

◆ destroy()

void com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.destroy ( )

Definition at line 330 of file JOGLNewtApplet3Run.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAppletInfo()

String com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.getAppletInfo ( )

Definition at line 346 of file JOGLNewtApplet3Run.java.

◆ getLocale()

Locale com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.getLocale ( )

Definition at line 351 of file JOGLNewtApplet3Run.java.

◆ getParameterInfo()

String[][] com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.getParameterInfo ( )

Definition at line 356 of file JOGLNewtApplet3Run.java.

◆ init()

void com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.init ( final Applet3Context  ctx)

Definition at line 240 of file JOGLNewtApplet3Run.java.

Here is the call graph for this function:

◆ start()

void com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.start ( )

Definition at line 297 of file JOGLNewtApplet3Run.java.

Here is the call graph for this function:

◆ stop()

void com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.stop ( )

Definition at line 319 of file JOGLNewtApplet3Run.java.

Here is the call graph for this function:

Member Data Documentation

◆ DEBUG

final boolean com.jogamp.newt.util.applet3.JOGLNewtApplet3Run.DEBUG = JOGLNewtAppletBase.DEBUG
static

Definition at line 99 of file JOGLNewtApplet3Run.java.


The documentation for this class was generated from the following file: