Hi!
I have a problem with processing and eclipse when running in OpenGL, the window when running in application mode the processing window is not centred on screen. All the interactions are centered though. I am running on a MacBook Pro 13" with intel HD4000. It has worked before and I have not updated anything as far as I know.... Here are some sample code:
- import processing.core.*;
- import controlP5.*;
- public class ProcessingSketch extends PApplet {
- public static void main(String args[])
- {
- PApplet.main(new String[] { "--present", "ProcessingSketch" });
- }
- /* SETUP WORLD */
- public void setup()
- {
- size(1200,750,P3D);
- background(0);
- }
- public void draw()
- {
- stroke(255);
- line(mouseX,mouseY,0,0);
- frameRate(24);
- }
- }
As you can see the result is not what it is supposed to be... Any ideas how to solve this?
1