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

G

gino

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
 
M

Mike Baranczak

"gino" <[email protected]> said:
[....]
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top