Re: Using VisAD in an applet

Hi Kenny,

I have set up a basic VisAD applet example at:
   http://www.ssec.wisc.edu/~curtis/applet/

The source code can be found at:
   http://www.ssec.wisc.edu/~curtis/applet/VisADApplet.java

To use it, you need to have the Java Plug-in installed,
and point it at your Java 2 JRE with Java3D installed.
The easiest way to accomplish all of this is to download
and install the latest Java2 SDK, JDK 1.3.1, as well as
the latest Java3D, version 1.2.1 (The JDK 1.3.1 installer
will automatically install the Java Plug-in and configure
it appropriately).

Lastly, when making your own VisAD applets, don't forget
to run them through the HTML Converter program that comes
with JDK 1.3.1.  For more information, see:
   http://java.sun.com/products/plugin/1.3/docs/html_converter.html

I recommend you test your applets in appletviewer first,
and once that works, then try it in a browser locally.  If
that works too, then test it remotely from the web server.

Let me know if you have any further questions or problems.

-Curtis

At 07:32 7/18/01, you wrote:
>Hello,
>I know that there are some other postings in the archive about this, but
>they couldn't really help me.
>
>I want to create an applet, which plots a 3D surface, receiving it's data
>from an extern database.
>I discovered VisAD just a few days ago, but what I saw really impressed me.
>I think it's the best
>way for me to create this applet.
>
>The only problem I have now is to convert a VisAD application to an applet.
>I already read in other
>postings, that this is some kind of complicated.
>The example P4_01 from Ugo Taddei's VisAD tutorial
><http://www.ssec.wisc.edu/~billh/tutorial/s4/P4_01.java>http://www.ssec.wisc.edu/~billh/tutorial/s4/P4_01.java
>is close to what I want to design, so I tried to adjust it's code to run it
>in a browser. But without success.
>I could compile the applet without receiving an error, but in a browser it
>didn't run.
>
>I have the latest version of the java plug in running and tried it with IE
>5.50 and Netscape 6. I also included
>the archive visad.jar in my html file.
>
>Because I am rather unexperiend with VisAD it is possible too, that I made
>some mistakes in converting the
>application to the applet. That's why I would be pleased, if someone could
>give me the code of a running
>VisAD applet example so that I can figure out where my failure is.
>
>regards,
>Kenny B.


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: