Bugs item #1338422, was opened at 2005-10-26 06:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1338422&group_id=23629
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Applet
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Miguel (migueljmol)
Summary: have default values for (required) parameters
Initial Comment:
The applet requires some parameters, this is not always
very useful please provide default values
if we do this, we dont have to worry about missing
params...
public String getParameter(String paramName)
{
String val = super.getParameter(paramName);
if ("progressbar".equals(paramName) && val ==
null) val = "true";
if ("progresscolor".equals(paramName) && val ==
null) val = "blue";
if ("boxmessage".equals(paramName) && val
== null) val = "...";
if ("boxbgcolor".equals(paramName) && val
== null) val = "black";
if ("boxfgcolor".equals(paramName) && val
== null) val = "white";
return val;
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1338422&group_id=23629
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers