Added Code to deal with a bug in Mac OS X 10.7,10.8 Oracle JRE 1.7.0_10.  This update breaks double buffered graphics if the applet can't fit on the screen and also makes the Nimbus LAF corrupt.  If the page detects this update it will set macBug param to true at which point it resizes the applet and the applet switches from Nimbus to the cross platform LAF(Metal).