Hi Ben
I solved the problem with the pde.g file. The rule field that you used in pde.g was called classField in the new java.g. Everything is compiled fine so far.
Now the Processing compiler causes trouble. My first test was
Code:void setup(){
ArrayList<String> test = new ArrayList<String>();
}
The compiled java Applet file looks like this:
Code:
public class sketch_060109a extends PApplet {
public void setup(){
ArrayListtest = new ArrayList
static public void main(String args[]) {
PApplet.main(new String[] { "sketch_060109a" });
}
}
The Type declaration seems to be ignored. This is the trace in processing:
Invalid type:55
Invalid type:55
C:/Dokumente und Einstellungen/tex/Eigene Dateien/Processing/sketch_060109a/applet/sketch_060109a.java:1:264:2:37: Syntax Error: misplaced construct(s)
processing.app.RunnerException: misplaced construct(s)
at processing.app.Compiler.message(Compiler.java:332)
at processing.app.MessageSiphon.run(MessageSiphon.java:60)
at java.lang.Thread.run(Unknown Source)
I tried to fix the problem, but I don't find the trouble causing part. Any clue?