Image

Imagecanyoncat wrote in Imagejava_dev 😊accomplished

Newbie

Thanks to all of you who replied to my request for help yesterday. I don't know why I thought I would be able to access the file system from an applet?! I took a Java class a couple years ago and now I seem to recall the instructor telling us this would be a no-no. I didn't need to access a file anyway as it is just as easy to pass the data that the applet needs as parameters from the HTML document.

The applet that I am working on is a topo (topograpical) map viewer for my Grand Canyon web site that also links the hundreds of photos that I have of the Canyon to the various map segments in which they were taken. I have something setup on my web site now that uses two different documents for for each map segment, one with photo links and one without. It works but it is a bit tacky. The idea behind using a Java applet was so that I could simply have a button that would toggle the photo links on and off and also to be able to display thumbnail images for the photos directly in the applet. It works rather nice now...

Image

I still need to add some sort of ability to navigate to adjoining map segments, as well as a way to bring up the full-size image for a given photo but I should be able to figure that out.

The only question I have remaining is why I cannot seem to resize the amount of space that is being used for the applet on the document. Again, this worked fine in the appletviewer but in the browser the resize method seems to be ignored and the size of the applet remains at what it was originally specified in the HTML <applet> tag.

Any ideas?