final Canvas canvas;\r
LwjglApplication app;\r
\r
+ class LwjglAppletApplication extends LwjglApplication {\r
+\r
+ public LwjglAppletApplication (ApplicationListener listener, boolean useGL2, Canvas canvas) {\r
+ super(listener, useGL2, canvas); \r
+ }\r
+ \r
+ @Override public ApplicationType getType() {\r
+ return ApplicationType.Applet;\r
+ }\r
+ }\r
+ \r
public LwjglApplet (final ApplicationListener listener, final boolean useGL2) {\r
LwjglNativesLoader.load = false;\r
canvas = new Canvas() {\r
public final void addNotify () {\r
super.addNotify();\r
- app = new LwjglApplication(listener, useGL2, canvas);\r
+ app = new LwjglAppletApplication(listener, useGL2, canvas);\r
}\r
\r
public final void removeNotify () {\r