File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 9059
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;
It's not a secret anymore!