From 48f6568ebffdd557651460fb5f3f7f4abbca2440 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 12 Dec 2010 07:51:06 +0100 Subject: Windows RegisterClass: Use new RegisteredClassFactory (window class), Misc. This solves the issue when an applet is started/stop and started again, or another applet runs in the same JVM. Also soves the issue for multiple JVMs. RegisteredClassFactory can be instanced to manage one shared window class, currently in use for GDI's dummy window and NEWT. A class base name and a window proc handle must be passed in the factory cstr. Before registering, the class is tested if already exists, eg another applet in the same JVM. If registration fails, the class name will iterate until successful or MAX_INT reached, eg if multiple JVMs are running. Added NativeWindow Common Native Code. --- src/junit/com/jogamp/test/junit/util/QuitAdapter.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src/junit/com') diff --git a/src/junit/com/jogamp/test/junit/util/QuitAdapter.java b/src/junit/com/jogamp/test/junit/util/QuitAdapter.java index 258132582..174412295 100644 --- a/src/junit/com/jogamp/test/junit/util/QuitAdapter.java +++ b/src/junit/com/jogamp/test/junit/util/QuitAdapter.java @@ -28,7 +28,6 @@ package com.jogamp.test.junit.util; -import com.jogamp.opengl.util.Animator; import com.jogamp.newt.event.*; public class QuitAdapter extends WindowAdapter implements WindowListener, KeyListener { -- cgit v1.2.3