Swing Java components in ImageJ plugin frames?
Posted by Bill Mohler on May 11, 2009; 8:50pm
URL: http://imagej.273.s1.nabble.com/Swing-Java-components-in-ImageJ-plugin-frames-tp3692563.html
Dear All:
I'm confused by what's "allowed" or doable in writing code for ImageJ plugins.
I am interested in adding some JSpinner components to my plugin
frame, to save space instead of using sliders and to allow text input
from the user as a shortcut.
I know that JSpinner is a Swing component, and I recall
hearing/reading that ImageJ was not designed to use Swing. Does this
mean that the Swing libraries are not included in the bundled version
of Java that comes with ImageJ? Or is this just a limitation on what
classes are used in the base code of ImageJ?...
Wait a minute...
Searching through the ImageJ website, I just realized that
javax.swing. libraries are used in a number if classes in the ImageJ
source! So, is there actually no limit on using swing components?
Was there ever? That would certainly make things much easier.
Hoping for a quick and certain answer.
Bill