Yes, this is how package import works (and should work) in Java. For example, when you execute import javax.swing.*; all classes in javax.swing.* will be imported, but not subpackages and their classes.
Ergo, javax.swing.* Will not import javax.swing.event or javax.swing.event.*
Read the following blog for tips on friendly newbies.
David titarenco
source share