COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

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

• Email
• 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

See related articles to this posting

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

1 Replies
343 Views

Similar Articles

12/12/2013 8:04:58 PM
page loaded in 68003 ms. (0)

Similar Artilces:

How to let the methods of a class only can be invoked by a special package(the class not in the package)?
There is a class A in package XX.ZZ.GG , and A has a static methodA.GetInstance(). There are 3 classes B, C, D in package XX.ZZ .How can I make the A.GetInstance() only can be invoked by the B, C andD. On Mon, 21 Jan 2008 20:01:50 -0800 (PST), Jebel.Star@gmail.com wrote, quoted or indirectly quoted someone who said : >How can I make the A.GetInstance() only can be invoked by the B, C and >D. There are three levels: public -- everyone, package, just in same package, and private -- just current class. To pull off what you want means putting the classes that can talk in the same package....

Solaris Package packaging and class scripts
Hi All, I was wondering if anyone had experience with Solaris packaging. I am having troubles with scripts failing when the package is installed, but running fine when unit tested. For example, I want a new service (Solaris 10) imported when the package is installed: in my Prototype I have: i in.manifest <--- the script to run at install time that imports the service f manifest myservice.xml in.manifest has the instructions to copy myservice.xml in its place (this part works) and to import the service with: [full path to]/svccfg import [full path to]/myservice.xml. When I run this f...

What classes are in a package?
Given a package name, is it possible to determine (via Java code) what classes are defined within a package? Glenn McCall wrote: > Given a package name, is it possible to determine (via Java code) what > classes are defined within a package? No, and I just told you that in comp.lang.java.help. If you would please crosspost instead of multiposting, then this question would have only needed to be answered once, and you wouldn't have as many places to look for answers. It makes it easier for everyone. -- www.designacourse.com The Easiest Way to Train Anyone... Anywhere. Chri...

importing class from same package?
Can a class import another class from the same package? See below for example. Thanks, AlanoneClass.java:package jat.util;import jat.util.anotherClass;public class oneClass{ . . .}anotherClass.java:package jat.util;public class anotherClass{ . . .} Never mind . . . I had a classpath problem. Alan wrote:> Can a class import another class from the same package?> > See below for example. Thanks, Alan> > oneClass.java:> > package jat.util;> > import jat.util.anotherClass;> > public class oneClass> {> . . .> }> > anothe...

java and javax packages
I tried to find out what is difference between java.*.*... packages and javax.*... packages Is it only a naming convention randomly followed (least possible) or it has some meaning? Bhanu wrote: > I tried to find out what is difference between java.*.*... packages and > javax.*... packages > > Is it only a naming convention randomly followed (least possible) or it > has some meaning? javaX is a package reserved for 'eXtra' classs that are not in the Java core package. Such things like 'mail' or 'sound' API's might be large, and required by only a...

a Dictionary class, package or style
I would to make a dictionary with LaTex, with the usual 2 columns, reference words on headers. The usual pro look, on any commercial dictionary. Some years ago, many people asked on this topic here, but i don't know the state of art, actually on this, neither found a useful package to typesetting a dictionary of words. thanks and sorry again, Steve, On 3 juin, 19:40, Steve <steve.gnuli...@gmail.com> wrote: > I would to make a dictionary with LaTex, with the usual 2 columns, > reference words on headers. The usual pro look, on any commercial > dictionary. > Some years a...

javax.jnlp -- how do I access this package?
I have Java Web Start installed on my machine, I can run Web Start applications from my browser, but when I try to write code accessing the Web Start APIs the compiler complains that there is no such package. The documentation is less than helpful, since I've already taken all of the specified steps to install Web Start on my local machine, and I can run applications that have been packaged using Web Start. Where do I get the jar file with the developer classes, and where am I supposed to put it? (This is for JDKs 1.4.2 and 1.5.0) What I need to do is to convert an application which so...

Getting a list of all classes in a package
I need some method that will by using reflection alone tell me every class in a given package. Specifically if I have a package called UnitTest and want to get a list of all classes that have TestCase as there base class. --Aryeh sarek wrote: > I need some method that will by using reflection alone tell me every > class in a given package. Specifically if I have a package called > UnitTest and want to get > a list of all classes that have TestCase as there base class. > > --Aryeh This topic has come up a few times before. It is not possible to do it in general, although...

Inheritance of classes inside a package
Hi, I just posted a question on MATLAB Answers about the problems I ran into when trying to move some class definitions inside a package: http://www.mathworks.com/matlabcentral/answers/12341-inheritance-of-classes-inside-a-package If anybody knows what is going on there, I would be very greatful for any advice!!! Thanks a lot, Petr ...

Build classes/packages dinamicaly
Hi, I have a package that generates classes from a set of XML files using exec. So far the classes appear in the global namespace. Is there any way to also create packages dinamicaly and add the classes to those packages? Thanks in advance, Paulo Pinto Paulo Pinto wrote: > I have a package that generates classes from a > set of XML files using exec. > > So far the classes appear in the global namespace. > > Is there any way to also create packages dinamicaly > and add the classes to those packages? > > Thanks in advance, > Paulo Pinto >>> impo...

Getting a list of Classes in a Package
I've been doing some research online about this subject and I've comeacross a pretty even balance of "why I need to do it" and "why itisn't possible".I want to maybe get some discussion going, and maybe if there isanyone out there to suggest some alternatives or the best method toaccomplish what I want.What I've read so far is that:1. Packages are not hierarchical, and stand separate to each other,despite similarities.2. Classes are not fetched until they are requested/needed.Point 1 seems really irrelevant to my purpose as the way I've got myprogram set...

Reflection: Instantiate All Classes in a Package?
I was wondering...Is it possible, by using Java reflection, to instantiate all classesexisting in a package without knowing the names of those classes. I'menvisioning something like this (pseudocode):Start my classClass goes to package xPackage x contanis all the classes I need to instantiateUsing a (loop/something?) I loop through all the classes andinstantiate each oneTo clarify what I'm trying to do, I am creatnig an error checkingapplication that relies on a series of rules that groups of developerswill code in Java (yeah, I realize I could have it in XML or somethingthat makes mo...

extending a classes from another package?
hi..i'm buidling a small framwork that wraps around xml Element objects(in xom) i have these packages:com.product.xml AbstractElement AbstractValueContainer VallueExceptioncom.product.xmlValues StringValue ListValues NumericValueseach of the values extends AbstractElementnow some of these values classes should recieve other Value Classesin their setters, but internally extract their internal XmlElement andappend it their own. my problem ,is that on one hand i wanna exposethe getInternalElement method only the value classes, but on the otherhand i don't want to make it public. ...

Hi I am developing an Swing applet. I am using Eclipse as my IDE and I am compiling the classes through the command line. Everything went ok, but suddenly it started to give the error "Package javax.swing not found in import." I searched Google groups and found that it's a classpath problem, but I can't seem to get it right. Can anyone help me? And why did it break all of a sudden, without any changes to the system? This is my classpath: C:\Sybase\ASEP\Monclass.zip;C:\Sybase\ASEP\3pclass.zip;C:\Program Files\Sybase\EAServer\EAServer\PowerBuilder\pdjdbc12...

Checking for packages froma class... revisited
this is my last message in the other thread, explaining a bit better my problem and how i solved it. What do you think about these solutions? I made a class, serie, that loads memoir. But i usually have in my documents \usepackage[spanish]{babel}, that redefines\numberline and so conflicts with memoir. I want to keep memoir's definition as it allows more formatting. So i made a package, spanishfix, that restores it. But I asked if this last step could be achieved from the serie class, without the spanishfix package. I could put the correction in \AtBeginDocument, but the problem is that ...

CTAN package update --- memoir class
Peter Wilson writes: > I have uploaded memoir.tar.gz to UK incoming. Please put the contents > into macros/latex/contrib/memoir. The distribution is under the LPPL. > > Memoir is a comprehensive class supporting technical books, novels, > poetry, articles...Body font sizes are 9, 10, 11, 12 14 and 17pt. The class > provides many convenient methods for designing your own document layout. > > Changes in version 1.618 (2005/09/25) > o All patches from mempatch.sty v3.12 have been included > o Various minor new facilities > o \nofiles now works proper...

errors with vita class and bibunits package
I use the vita class to produce my CV and bibunits to get references for books, chapters, etc. [See vita-test.tex below] I use the commands pdflatex vita-test bibtex vita-test.1 bibtex vita-test.2 bibtex vita-test.3 ... and consistently get errors like the following: ... \bibdata{vita} No file vita-test.bbl. (./vita-test.aux) (/usr/share/texmf-texlive/tex/latex/psnfss/ot1ptm.fd) (/usr/share/texmf-texlive/tex/latex/psnfss/ot1phv.fd) (./vita-test.1.aux) (./vita-test.1.bbl ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTe...

CTAN package update: memoir class
A package has been updated on tug.ctan.org and it will make its way through the mirroring system in the next few days. Thanks, Jim Hefferon Please note that the patch from today (2003-Sept-17) of memupdate.sty is included in this installation. ==================================================================== From the package author: ---------------------- Dear CTAN/Jim, I have uploaded memupdate.tar.gz to tug/ctan/org/incoming. Please use the contents to replace part of macros/latex/contrib/memoir. The distribution is under the LPPL. >From the README Memoir is a flexible c...

Memoir Class Pagenote Package hiccup
>I have started using the >\pagenote command to insert endnotes in my memoir. Unfortunately, my >first chapter -- "Acknowledgements" is an unnumbered an unmarked >chapter, and it has resulted in rather strange output for my "Notes >chapter". > >I have been able to recreate the typesetting hiccup that was produced: > >\documentclass[12pt,a4paper,article]{memoir} % for a short document > >\makepagenote >\continuousnotenums > >\title{Title} >\author{Author} >\date{\today} > >\begin{document} > >\maketitle >\tableof...

Using the memoir class with the minitoc package
Hello, I am writing a little book and I would love to add little table of contents at the start of each chapter. I found that I could use the minitoc package, but it doesn't seem to work. I tried mtcpatchmem.sty by importing \usepackage{mtcpatchmem.sty} (with mtcpatchmem.sty in my root directory) by all it does is create a blank page at the start of the book, like on this image: http://i.imgur.com/DUGSB.png Is there a solution, or workaround? If there are any workarounds, I would like it to look like the minitoc package, since I really like the style. Thanks. Am Samstag, den 31.03.201...