G'day,
The Measurements dialog (and other things available under the Tools menu) use the Swing UI package. This is not a part of the Microsoft 1.1 JVM.
Therefore, we cannot depend upon it being available in all browser contexts.
I see - so JmolApplet is pure-AWT, no Swing.
Strictly speaking, it would be possible to programmatically detect Swing and then construct the GUI accordingly. The following snippet can be used to determine whether the Swing library is available:
boolean found_swing = false;
try
{
new javax.swing.JButton("Jmol Now!");
found_swing = true;
}
catch(NoClassDefFoundError e)
{
// no Swing.
}However, there's a bigger question at issue here: as time goes by browsers running JVM1.1 will become vanishingly small. What is the "roadmap" for JmolApplet development with regard to continued support for JVM1.1?
1) will development be constrained to AWT indefinitely or 2) will a switch to Swing happen some time or 3) will two GUIs be developed, e.g. minimalist AWT vs. full-featured Swing or 4) something else?
Apologies if this has been covered before, I'm still relatively new to Jmol and couldn't find anything in the jmol-users archives that answers this.
Thanks, Chris.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

