mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 14:35:58 +00:00
AppletTest: Destroy AWTInputAdapter on destroy()
This commit is contained in:
parent
c025a7c70f
commit
691f471f7d
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ import java.awt.BorderLayout;
|
|||
import java.awt.Canvas;
|
||||
|
||||
import org.lwjgl.util.applet.LWJGLInstaller;
|
||||
import org.lwjgl.opengl.AWTInputAdapter;
|
||||
|
||||
public class AppletTest extends Applet {
|
||||
|
||||
|
|
@ -44,6 +45,7 @@ public class AppletTest extends Applet {
|
|||
public void destroy() {
|
||||
super.destroy();
|
||||
System.out.println("*** destroy ***");
|
||||
AWTInputAdapter.destroy();
|
||||
}
|
||||
|
||||
public void start() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue