summaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt')
-rw-r--r--src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
index 49bd0d778..35f4fca73 100644
--- a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
+++ b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
@@ -228,6 +228,7 @@ public class NewtCanvasAWT extends java.awt.Canvas implements WindowClosingProto
/** Must run on AWT-EDT non-blocking, since it invokes tasks on AWT-EDT w/ waiting otherwise. */
private final Runnable awtClearSelectedMenuPath = new Runnable() {
+ @Override
public void run() {
MenuSelectionManager.defaultManager().clearSelectedPath();
}
@@ -460,6 +461,7 @@ public class NewtCanvasAWT extends java.awt.Canvas implements WindowClosingProto
*/
public final void destroy() {
AWTEDTExecutor.singleton.invoke(true, new Runnable() {
+ @Override
public void run() {
destroyImpl(false /* removeNotify */, false /* windowClosing */);
} } );