Move PApplet (setLocation) doesn't work
in
Integration and Hardware
•
2 years ago
Hi guys,
I installed proclipsing ( http://code.google.com/p/proclipsing/wiki/GettingStarted) in eclipse to be able to use processing in eclipse. Everything worked fine but now I ecnounternd some problems:
I wanted to move the Applet Window with:
this.setLoaction(x,y) -> nothing happend
or
frame.setLocation(x,y)
-> NullPointerException:
Exception in thread "Animation Thread" java.lang.NullPointerException
at Test.VideoTest.draw(VideoTest.java:19)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I dont't have any idea why it doesn't work.
Also I wanted to open the browser with the method:
link(url)
but nothing happens too.
Has anyone an idea to solve this problem? Thank you :)
I installed proclipsing ( http://code.google.com/p/proclipsing/wiki/GettingStarted) in eclipse to be able to use processing in eclipse. Everything worked fine but now I ecnounternd some problems:
I wanted to move the Applet Window with:
this.setLoaction(x,y) -> nothing happend
or
frame.setLocation(x,y)
-> NullPointerException:
Exception in thread "Animation Thread" java.lang.NullPointerException
at Test.VideoTest.draw(VideoTest.java:19)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I dont't have any idea why it doesn't work.
Also I wanted to open the browser with the method:
link(url)
but nothing happens too.
Has anyone an idea to solve this problem? Thank you :)
1