[quote author=Fu-Kwun Hwang link=topic=1400.msg5256#msg5256 date=1262707182]
Then you can add the jar file to the EJS.
Click the button at the top right corner, below the cross(close) button
(the same place where you can select "Add screen capture tools ..." options)
and you will find [b]JAR Libraries[/b] in the [b]Options and files[/b] tab,
click check marker to select jar file to add to EJS library.
And add import statement (just one line above JAR Libraries.)
Then, you can use those functions defined in the jar anywhere inside EJS.
[/quote]

I followed but with errors. Any tips? ;D


Generating simulation file ImageTestfkh...
C:\Users\160\Desktop\EJS_4.2_091119\EJS_4.2\workspace\output\users\sgeducation\lookang\ImageTestfkh.java:10: '.' expected
import ConvolveFilter;
                    ^
C:\Users\160\Desktop\EJS_4.2_091119\EJS_4.2\workspace\output\users\sgeducation\lookang\ImageTestfkhSimulation.java:10: '.' expected
import ConvolveFilter;
                    ^
C:\Users\160\Desktop\EJS_4.2_091119\EJS_4.2\workspace\output\users\sgeducation\lookang\ImageTestfkhView.java:10: '.' expected
import ConvolveFilter;
                    ^
C:\Users\160\Desktop\EJS_4.2_091119\EJS_4.2\workspace\output\users\sgeducation\lookang\ImageTestfkhApplet.java:10: '.' expected
import ConvolveFilter;
                    ^