> (String)getAppletInfo("fileContents") added
> (String)getAppletInfo("fileContents","<filepath>") added
Bob,
Offering this functionality is fine ... but I do not think that it is
appropriate to overload the 'getAppletInfo' name.
getAppletInfo() has a specific meaning as part of the java.applet class.
Adding additional parameters changes the signature and, technically,
creates a new method. But the behavior is fundamentally different and it
is not really an extension of getAppletInfo() ... so it is confusing.
So, the functionality is fine, but we need to come up with a new name.
We also have a desire to keep the number of public entry points small.
Perhaps we should consider wrapping all of this in a generic method:
getProperty(<propertyName>, <propertyKey>)
Or something like that.
That would give us a way to ask lots of questions of the applet without
having to increase the number of entry points.
Miguel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers