From: Robert H. <ha...@st...> - 2010-07-12 14:14:32
|
On Mon, Jul 12, 2010 at 8:21 AM, Shore, Jay <Jay...@sd...> wrote: > > Thank you for the responses. > > I am just curious, is always having a dialog pop up: necessary, just good > coding practice, or just a choice? > It seems that jmol uses JFileChooser, is there an alternative that would > not use a dialog box. > Thank you again. > > The issue is not with the application, only the signed applet. Since the signed applet is being delivered over the web, I felt it important to set it up so that it could not write to disk without a prompt. Otherwise you could just load a page, and a malicious developer might start the applet writing over files on your hard drive. -- Robert M. Hanson Professor of Chemistry St. Olaf College 1520 St. Olaf Ave. Northfield, MN 55057 http://www.stolaf.edu/people/hansonr phone: 507-786-3107 If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 |