set ControlP5 window op top
in
Contributed Library Questions
•
2 years ago
I would like to set a controlwindow, that I create with ControlP5 on top.
I want to use this line that can be used for the standard frame:
frame.setAlwaysOnTop(true); // sets the applet always on top
Now I have this:
w = control.addControlWindow("Control", 10, 10, 350, 340);
w.hideCoordinates();
w.setTitle("Type Control");
w.setAlwaysOnTop(true);
But the w.setAlwaysOnTop(true); doesnt work.
How can I do this?
Thanks in advance.
I want to use this line that can be used for the standard frame:
frame.setAlwaysOnTop(true); // sets the applet always on top
Now I have this:
w = control.addControlWindow("Control", 10, 10, 350, 340);
w.hideCoordinates();
w.setTitle("Type Control");
w.setAlwaysOnTop(true);
But the w.setAlwaysOnTop(true); doesnt work.
How can I do this?
Thanks in advance.
1