I would like to have control over the style of the labels in the applet.
If you agree that this would be useful functionality, please add
(something like) the following code to JmolApplet.java
Index: src/org/openscience/jmol/applet/JmolApplet.java
===============================================
RCS file:
/cvsroot/jmol/Jmol/src/org/openscience/jmol/applet/JmolApplet.java,vretrieving 
revision 1.6
diff -r1.6 JmolApplet.java
210a211,217
>
>     /* valid values are NONE SYMBOLS TYPES NUMBERS */
>     String labelstyle = getParameter("LABELSTYLE");
>     if (labelstyle != null) {
>       myBean.setLabelRenderingStyle(labelstyle);
>     }
>
216a224
>

I called it LABELSTYLE, but of course you should call it whatever you want.

In looking at this I came across two items which I believe could use a
little thought/discussion and clarification in the applet web page/doc.
1. There is inconsistency in case-sensitivity of parameter names and values.
    * names are case insensitive
    * the value of the 'style' parameter is case insensitive
    * the other parameters have values which are case sensitive
I recommend your stance on this be clarified and documented.

2. The interaction between zoom and atomSize should be clarified
    * I couldn't get zoom (as a parameter) to work
    * atomSize only works if the zoom parameter is set
I spent a while browsing the code trying to figure out why, but no luck.

Please let me know if I can assist in any way.

Thanks,
Michael





-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to