This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Originally posted by Sheldon Plankton: Thanks! What should of clued me into the fact that I imported the wrong package? That's seems to be a source of frustration for me.
A few things that might make your life less frustrating (in order of least time consuming): 1) Using an IDE that figures this stuff out for you (Eclipse is a great IDE and it's free) 2) Looking up package information in relavant code documentation 3) Googling for this type of info I strongly recommend going with option 1) and using the rest as backups.
As a new Java programmer is starting to learn the language and the standard libraries, I'd recommend not using a fancy IDE, which could hide some fundamental things that are good to know and understand. When the basics are understood and mastered, it's probably a safe and good time to move onto an advanced IDE.