NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
I've been doing quite a bit of 3D development for applets. As long as the machine I'm running the applet on has the java1.3 plugin with java3d also installed, I've only seen one significant issue (with the obvious exception of network security issues inherent in applets) There are some static variables that I haven't been able to track down that don't get re-initialized when you refresh your browser. So sometimes, the displays don't show up after refreshing. However, I've always had them display correctly the first time, so if you have your user re-start the browser whenever they want to re-use the applet, it's fine. The workaround I use is having a static flag in your applet that you set after the first time it runs. If the user tries to run the applet again without restarting the browser, that flag will still be set. Like this: public class MyApplet extends Applet{ private static boolean alreadyRunFlag = false; ... public void init(){ if(alreadyRunFlag){ displayRequestRestartPane(); } else { standardStartupCode(); } alreadyRunFlag = true; } ... } Good luck! Tom -------------------------------------------------------------------------------- "I am, therefore I am." -- Akira On Mon, 8 Oct 2001, Luke Catania (TEC) wrote: > The application I am currently developing is a Java Applet and I use the > VisAD API. > > I do simple 2D graphing of environmental model data and it works fine in > Intenet Explorer 6.0. I also just downloaded Netscape 6.1 and it works fine > with it. I had to install the Java Plug-in when running under MS IE. I > assume Netscape automatically uses the plug-in also when running my applet. > > Though I am only utilizing a small part of the VisAD API in creating 2D > plots of data, so I can't speak for any issues that may occur in any of the > more complex methods such as the 3D stuff. > > Luke > > ----- Original Message ----- > From: "Curtis Rueden" <curtis@xxxxxxxxxxxxx> > To: <mikael.ogren@xxxxxxxxxxxxxxx> > Cc: <visad-list@xxxxxxxxxxxxx> > Sent: Monday, October 08, 2001 2:42 PM > Subject: Re: New to VisaAD > > > > > > >I read that to be able to run VisAd as an applet the minimum demand is > > >Netscape 6 but that one might have to add the Java Plug-In. Do you need > this > > >or not? And how about Internet Explorer (version, addons...)? > > > > Hi Mikael, > > > > I have not gotten VisAD applets working successfully in Netscape 6, and I > > don't know if VisAD applets work with the new IE 6.0. > > > > IE4.x, IE5.x, and Netscape 4.x should work with it, if you install the > Java > > Plug-In (it comes with the JDK now and is automatically installed, or you > can > > download it separately). > > > > -Curtis > > > > >
visad
archives: