Copy bulat bulat from http://docs.oracle.com/javafx/2/swing/SimpleSwingBrowser.java.htm