JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.newt.awt.applet.JOGLNewtApplet1Run Class Reference

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

Inheritance diagram for com.jogamp.newt.awt.applet.JOGLNewtApplet1Run:
Collaboration diagram for com.jogamp.newt.awt.applet.JOGLNewtApplet1Run:

Public Member Functions

void init ()
 
void start ()
 
void stop ()
 
void destroy ()
 

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 100 of file JOGLNewtApplet1Run.java.

Member Function Documentation

◆ destroy()

void com.jogamp.newt.awt.applet.JOGLNewtApplet1Run.destroy ( )

Definition at line 302 of file JOGLNewtApplet1Run.java.

Here is the call graph for this function:

◆ init()

void com.jogamp.newt.awt.applet.JOGLNewtApplet1Run.init ( )

Definition at line 110 of file JOGLNewtApplet1Run.java.

Here is the call graph for this function:

◆ start()

void com.jogamp.newt.awt.applet.JOGLNewtApplet1Run.start ( )

Definition at line 238 of file JOGLNewtApplet1Run.java.

Here is the call graph for this function:

◆ stop()

void com.jogamp.newt.awt.applet.JOGLNewtApplet1Run.stop ( )

Definition at line 291 of file JOGLNewtApplet1Run.java.

Here is the call graph for this function:

Member Data Documentation

◆ DEBUG

final boolean com.jogamp.newt.awt.applet.JOGLNewtApplet1Run.DEBUG = JOGLNewtAppletBase.DEBUG
static

Definition at line 101 of file JOGLNewtApplet1Run.java.


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