Search code examples
kinectprocessingsimple-openni

how to keep processing output window always on top


I am currently making a project on kinect using SimpleOpenNI and Processing and am new to it. I want to know how I can keep my output window always on top...even when i switch focus to some other application like powerpoint or vlc??


Solution

  • Try frame.setAlwaysOnTop(true);. It's from the Window Class, but processing's frame variable is an AWT Frame, which extends Window.

    Documentation