Re: TextField in Fiji
Posted by
dscho on
Oct 09, 2013; 12:41pm
URL: http://imagej.273.s1.nabble.com/TextField-in-Fiji-tp5005091p5005101.html
Hi Andrew,
On Wed, 9 Oct 2013, Bell, Andrew wrote:
> Thank you for the explanation.
You are welcome!
> In general, therefore, should I always be explicitly importing? The
> plugin I have written for example, makes use of many of the java.awt
> components, and although it works, is it "more right" to implicitly
> import rather than use wildcards?
Yes, you should always import the classes you use explicitly. Otherwise
your code is prone to break whenever classes are introduced into packages
which have the same name of classes in other packages.
Ciao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html