Re: Details on calling a plugin from another one
Posted by
Sami Badawi-2 on
Apr 12, 2008; 4:44am
URL: http://imagej.273.s1.nabble.com/Details-on-calling-a-plugin-from-another-one-tp3696579p3696582.html
Hi Pablo,
I looked at Object_Counter3D.
It is a PlugIn, not a PlugInFilter as my example, but that should not
be a problem.
The class Object_Counter3D does not have a package definition so it
should live in the default package.
Say that you want to have your PlugIn live in a folder called
org.pablo.Pablo_Counter3D
This was possible up to Java 1.3, but starting from 1.4 this became illegal.
A class in the default package can only be accessed from another class
in the default package.
Bug report to Sun:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4491314Sun's answer:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4743555You could change your JDK to 1.3, or have both files in the same folder.
-Sami Badawi
http://www.shapelogic.org