[quote author=Fu-Kwun Hwang link=topic=857.msg3224#msg3224 date=1231344868]
You can add java functions into custom functions.
Actually, you can also add java class files or jar file.
You will find "additional libraries" button (to import jar or class) at custom page.

1.  start a new file
2. navigate to custom page
3. right click for more options to import file.java that is saved in the workspace [img]http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=857.0;attach=558;image[/img]
4. though it say error in import
5. the is a button called set external java file so i select the file.java again[img]http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=857.0;attach=561;image[/img]
6. this time the code is imported
7. click RUN a red screen appear[img]http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=857.0;attach=563;image[/img]
8. what must be done to proceed to be able to build the interface or is it automatically since the external file.java seems to have draw syntax i think?


I attached the source.xml for easy reference :)