Revision: 5181
Author:   hansonr
Date:     2006-05-25 22:37:46 -0700 (Thu, 25 May 2006)
ViewCVS:  http://svn.sourceforge.net/jmol/?rev=5181&view=rev

Log Message:
-----------
bob200603 applet load timer display -- just fixes problem that
(at least on my machines) the "1" in "10 seconds" does not display, 
making it appear "0 seconds" instead of "10 seconds". Just a hack; no clue why.

Modified Paths:
--------------
    branches/bob200603/Jmol/src/org/jmol/appletwrapper/AppletWrapper.java
Modified: branches/bob200603/Jmol/src/org/jmol/appletwrapper/AppletWrapper.java
===================================================================
--- branches/bob200603/Jmol/src/org/jmol/appletwrapper/AppletWrapper.java       
2006-05-26 05:13:07 UTC (rev 5180)
+++ branches/bob200603/Jmol/src/org/jmol/appletwrapper/AppletWrapper.java       
2006-05-26 05:37:46 UTC (rev 5181)
@@ -137,12 +137,13 @@
       g.setFont(font);
       g.drawString(preloadTextMessage, 10, messageBaseline);
       
-      String clockText = "" + elapsedTime + " seconds";
+      String clockText = "  " + elapsedTime + " seconds";
       clockWidth = fontMetrics.stringWidth(clockText);
       clockX = dim.width - clockWidth - 5;
       if (clockX < 0)
         clockX = 0;
       clockBaseline = dim.height - 5;
+      System.out.println(clockText);
       g.drawString(clockText, clockX, clockBaseline);
     }
   }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Jmol-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to