This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Cant find; Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Cant find;" Watch "Cant find;" New topic

Cant find;

Ger Sweeney

Joined: Jan 29, 2003
Posts: 11
I'm after downloading some source off the sun website and am having trouble compiling it. The compiler cannot resolve the variable Constants. I assume this is due to the fact that the interface; cannot be found. Do I need to alter my classpath?
Any help much appreciated,
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9044
NOTE: This article was written before the release of Swing 1.1 Beta 3 and JDKTM 1.2 RC1, a set of APIs that introduced the package names now used in Swing.

To compile and run the example program under current versions of the JFCTM software, you must use an alternative version of the example that is contained in zipped form a downloadable jar file named

[ February 01, 2003: Message edited by: Marilyn de Queiroz ]

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: Cant find;