Fullscreen with OpenGL
in
Contributed Library Questions
•
2 years ago
Hello!
I have a little problem width my sketch.
I using the KeystoneP5 and ControlP5 library for Processing,
When I draw ControlP5 object in the window and run the program in present mode, no problem, I can do what I want with controls and keystones.
When I want to draw ControlP5 object in a separate window ( control window build with controlP5), and run the program in present mode, I can't switch between the main window and my control window, it's normal because the present mode must do it...
I have tried to do this by the fullscree API for Processing but it don't works with OpenGL and crash KeystoneP5...
I have find the following page: http://download.oracle.com/javase/tutorial/extra/fullscreen/index.html, to do a fullscreen applications, but it don't works,
I can import the libraries:
Someone can help me to solve this, or have an other solution at my problem: make the main window in fullscreen and keep control to display other windows.
Thank in advance,
Jérémy.
I have a little problem width my sketch.
I using the KeystoneP5 and ControlP5 library for Processing,
When I draw ControlP5 object in the window and run the program in present mode, no problem, I can do what I want with controls and keystones.
When I want to draw ControlP5 object in a separate window ( control window build with controlP5), and run the program in present mode, I can't switch between the main window and my control window, it's normal because the present mode must do it...
I have tried to do this by the fullscree API for Processing but it don't works with OpenGL and crash KeystoneP5...
I have find the following page: http://download.oracle.com/javase/tutorial/extra/fullscreen/index.html, to do a fullscreen applications, but it don't works,
I can import the libraries:
- import java.awt.GraphicsDevice.*;
- import java.awt.GraphicsEnvironment.*;
-
GraphicsDevice myDevice;
-
Window myWindow;
Someone can help me to solve this, or have an other solution at my problem: make the main window in fullscreen and keep control to display other windows.
Thank in advance,
Jérémy.
1