Question about user select images in ImageJ applet

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Question about user select images in ImageJ applet

Xin ZHOU-2
Dear all,

I have questions about how to allow user to select one image in ImageJ applet.
The applet, as far as I understand, is to download packaged imagej program locally, and then execute it locally.

In the examples of using ImageJ applet, the image is put on a indicated location on server.
However, I wonder what is the best way if I want to process one image selected by user.

I mean, must I upload the image to the server? Or it is not necessary, I can directly work on it locally?
Also, many post on internet emphasize that there is a security reason to provide the applet from the local file systems.
How to go through this problem?

Is there any example code of doing such a thing? I think let the user to choose the image to be processed is a quite
common requirement.

cheers, Xin
Reply | Threaded
Open this post in threaded view
|

Re: Question about user select images in ImageJ applet

Nathaniel Ryckman
I don't think your problem is an imageJ problem. You need to read more about using Java programs through browsers.

I haven't done very much with deploying Java applets, so I'm just going to refer you to some websites that I would be reading if I were in your shoes.

Describes the many different ways to use Java through browsers:
http://mindprod.com/jgloss/signedapplets.html#JWS

Example of a signed applet:
http://bij.isi.uu.nl/applet.htm

A tutorial on how to use Java Web Start:
http://download.oracle.com/javase/1.5.0/docs/guide/javaws/developersguide/development.html#intro

A few demos using signed/unsigned applets and java web start to deploy imageJ:
http://rsb.info.nih.gov/ij/applets.html

Good luck!