The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001

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:

need to include import com.bruceeckel.swing.* ?? how

Posted by Sylvia Miner on November 29, 2001 at 4:37 PM

Howdie,

I have jdk1.3.1 installed on my Windows system.

Recently purchased Bruce Eckel's book Thinking In Java.
Downloaded programs off of web, CD rom did not include code only c++ instead of java.

Bruce Eckel's example uses packages which he developed.

When I compile the Bruce Eckels's java source code examples
which include "import com.bruceeckel.swing.*" or "package
com.bruceeckel.swing", I get compilation error that reads
"package com.bruceeckel.swing does not exist". I do not believe I have it.
or the ... compiler cannot find it ... so


Thanks in advance for any and all suggestions/help.

Need to turn in my assigment urgently and hope to use the book as a source of reference but it has been difficult throughout the
entire semester since I have not known how to deal with this. I will probably need it for data structures too next semester. Please help as soon as possible. Thank you again.

Sylvia Miner




Replies:

Sponsored Links



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