This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I thought the same thing, Chris, but as it turns out, imports are not recursive. That is, they do not automatically include "subpackages". In fact, there is no such thing as a subpackage. The name java.awt.event has nothing to do with java.awt. For each package you wish to specify, yuou must specify the complete package name. It's kind of like specifying a path in DOS, or a classpath in Java. If you specify /myfolder/mystuff, it will not automatically look in /myfolder/mystuff/myotherstuff. Joe
Joined: Oct 02, 2002
Thanks a lot, that clears it up. I had just naturally figured that it would/should be recursive. Should know better then to just assume anything in the computer world is as it should be