attempting other focus solutions

This commit is contained in:
Ben Fry
2013-06-03 14:44:27 -04:00
parent 9209745631
commit 1cf486de50
3 changed files with 4 additions and 1 deletions

View File

@@ -561,6 +561,7 @@ public class PGL {
pg.parent.setLayout(new BorderLayout());
pg.parent.add(canvasAWT, BorderLayout.CENTER);
System.out.println("focus requested result was " + canvasAWT.requestFocusInWindow());
pg.parent.removeListeners(pg.parent);
pg.parent.addListeners(canvasAWT);