We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I would like to use this Code I found on the forum, but in Python mode. I just can't figure out how to wirte this in Python:
import processing.awt.PSurfaceAWT;
void setup(){
PSurfaceAWT awtSurface = (PSurfaceAWT)surface;
PSurfaceAWT.SmoothCanvas smoothCanvas = (PSurfaceAWT.SmoothCanvas)awtSurface.getNative();
smoothCanvas.getFrame().setAlwaysOnTop(true);
smoothCanvas.getFrame().removeNotify();
smoothCanvas.getFrame().setUndecorated(true);
smoothCanvas.getFrame().setLocation(200, 200);
smoothCanvas.getFrame().addNotify();
}
I would be thankfull for any help!
Answers
thank you for your answer, but the Code doesn't seem to give me access to
setUndecorated, or turn of the window frame in any other way.thank you very much! I noticed you post alot of answers on many questions I found today. Can you tell me what sources you use to figure this out? I couldn't find anything in the Reference.
Well, I look for them straight from their sources: :-$
thank you. Do you know of a solution for openGL(P2D / P3D) or only for the JAVA2D renderer?
The other renderers aren't based on JFrame. :-\"