The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Help: "import com.bruceekel.swing.*;"

Posted by Matt Gerrans on October 10, 2001 at 4:57 PM

Sounds like you didn't find the "Steps for installing source code on your machine" instructions at:
http://www.mindview.net/Books/TIJ/#SourceCode

The problem is likely that your CLASSPATH environment variable doesn't include the root of the location of com\bruceeckel\swing. In other words, if you unzipped the sample code to the directory "c:\tijcode", then you should also "SET CLASSPATH=c:\tijcode" (at least; you may want other things in there, too). By the way, when you unzip, the directory hierarchy should be produced, so in the above example, you would have a bunch of directories, including "c:\tijcode\com\bruceeckel", where you would find the "util" and "swing" directories, among others.

- mfg



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us