my sketch uses more than one frame. works so far.
now i am looking for a way to have on window not just always on top (which can be achieved by using Frame.setAlwaysOnTop(boolean) and works too just fine ) but also to have it always in an active state. so that a textfield that i have put in that window is always fed by the keyboard no matter the mouse has clicked into another.
ideas? or does anyone know a method of the Frame class that could achieve that?
i just found focusGained() as a PApplet method, but I cant make out what it actually does.
the public boolean focused() is quite nice and would make me think there is something like setFocussed out there but i cant find it. :-(
1