[izpack-devel] OT: Java Imports in IzPack

Tino Schwarze berlios.de at tisc.de
Mon Mar 13 11:54:07 CET 2006


On Sat, Mar 11, 2006 at 02:10:09AM -0500, Hal Vaughan wrote:
> This is basically a curiosity thing, but I've noticed that in pretty 
> much every class I've looked at in IzPack, the imports are very 
> specific, like:
> 
> import javax.swing.JButton;
> 
> instead of something like:
> 
> import javax.swing.*;
> 
> which is what I've seen in most examples in tutorials and howto 
> articles, including many demos and examples on Sun's own Java sites.

In examples and tutorials this is simply used to save space. This way,
you don't end up with lots of import lines which would only clutter the
examples.

Bye, Tino.




More information about the izpack-devel mailing list