where is the ImageDisplay class and javax.media.* package?

  • Follow


Hi, folks,

I am trying to use the JAI sample code(in JAI tutorial) SFOViewer.java...

but it does not compile on my PC: the error message goes like this:

SFOViewer.java:51: cannot resolve symbol

symbol  : class ImageDisplay

location: class SFOViewer

    private ImageDisplay dsp = null;

            ^

SFOViewer.java:54: cannot resolve symbol

symbol  : class Panner

location: class SFOViewer

    private Panner panner;

----------------------------------------

Obviously, it has trouble with the ImageDisplay class and the Panner class.
I already set the classpath in my KAWA development IDE.

But it still cannot resolve these two classes... I noticed the javax.media.*
package does not come with the JAI installation, what is the problem?

Then where is the javax.media.* package?

Thanks a lot,

-Gino


0
Reply gino 7/10/2004 9:01:05 PM

In article <ccpleh$j20$1@news.Stanford.EDU>, "gino" <mizhael@yahoo.com> 
wrote:
> [....]
> But it still cannot resolve these two classes... I noticed the javax.media.*
> package does not come with the JAI installation, what is the problem?
> 
> Then where is the javax.media.* package?
> 
> Thanks a lot,
> 
> -Gino
> 
> 

javax.media isn't a part of the regular JDK. You have to download and 
install it separately. Take a look on the official Java website, it's on 
there somewhere.

-MB
0
Reply Mike 7/11/2004 5:44:12 AM


1 Replies
298 Views

(page loaded in 0.027 seconds)

Similiar Articles:







7/23/2012 3:44:50 PM


Reply: