mirror of
https://github.com/processing/processing4.git
synced 2026-02-27 09:14:36 +01:00
attempting other focus solutions
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user