have a look at the thread [url=http://www.javagaming.org/index.php/topic,20065.0.html]here[/url] it contains a nice script that works on safari and even with really old jvm's.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.