iGeo Library into Eclipse
in
Contributed Library Questions
•
1 year ago
Hi Everybody,
I am trying to use the iGeo library (can be found here: http://igeo.jp/ ) into eclipse. and I dont get any further...
And this is as far as i get:
import processing.core.PApplet;
import igeo.*;
public class MyIgeoApp extends PApplet{
public static void main(String args[]){
PApplet.main(new String[] {"--present","MyIgeoApp"});
}
//
public void setup(){
size( 480, 360, IG.GL );
for( int i=0; i<10; i++ ){
new IPoint(i, 0, 0);
}
}
public void draw(){
}
}
___
and the java terminal says this to me:
Exception in thread "Animation Thread" java.lang.RuntimeException
at processing.core.PApplet.makeGraphics(PApplet.java:1790)
at processing.core.PApplet.size(PApplet.java:1588)
at processing.core.PApplet.size(PApplet.java:1559)
at MyIgeoApp.setup(MyIgeoApp.java:16)
at processing.core.PApplet.handleDraw(PApplet.java:2103)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:679)
_____
I don't know how to solve this problem. So i have to ask if anybody has experienced the same Problem?
Thx a lot!
I am trying to use the iGeo library (can be found here: http://igeo.jp/ ) into eclipse. and I dont get any further...
And this is as far as i get:
import processing.core.PApplet;
import igeo.*;
public class MyIgeoApp extends PApplet{
public static void main(String args[]){
PApplet.main(new String[] {"--present","MyIgeoApp"});
}
//
public void setup(){
size( 480, 360, IG.GL );
for( int i=0; i<10; i++ ){
new IPoint(i, 0, 0);
}
}
public void draw(){
}
}
___
and the java terminal says this to me:
Exception in thread "Animation Thread" java.lang.RuntimeException
at processing.core.PApplet.makeGraphics(PApplet.java:1790)
at processing.core.PApplet.size(PApplet.java:1588)
at processing.core.PApplet.size(PApplet.java:1559)
at MyIgeoApp.setup(MyIgeoApp.java:16)
at processing.core.PApplet.handleDraw(PApplet.java:2103)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:679)
_____
I don't know how to solve this problem. So i have to ask if anybody has experienced the same Problem?
Thx a lot!
2