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.
I used borland j builder and I used the same import command and I had no problems bro. Is this a program that you cut and pasted from another? I have seen some compilers have problems with that. You may want to just open up a new package and start a new class with the same import command and see if it recognizes the StringTokenizer command. Peace out Steve
It compiles fine for me as well. What are you using to compile it? If you're using a third party compiler (like jikes), you'll need to include in your CLASSPATH the rt.jar file located in the [JDK_HOME]\jre\lib folder. [ March 24, 2003: Message edited by: Dirk Schreckmann ]