use .java files from pde
in
Programming Questions
•
1 year ago
Hi, I have found many guide about calling processing function from eclipse but nothing about call java files (*.java) from the pde files.
Is it necessary to put the java files into the library folder? Do I have to make class or jar files or can I direcltly use the .java? How to include them?
For example if I have a main pde file and from the "new tab" I add a Include.java file with these codes it does not work
mainPde:
Thanks
Is it necessary to put the java files into the library folder? Do I have to make class or jar files or can I direcltly use the .java? How to include them?
For example if I have a main pde file and from the "new tab" I add a Include.java file with these codes it does not work
mainPde:
public class User extends Include {
System.out.println(Include.MyLongString);
}
void setup() {
size(600, 600);
background(255);
}
void draw() {
}
- public class Include {
public static String MyLongString= "abcdef";
}
Thanks
1