/** * Uses a JEditorPane to open the given URL in a dialog * * @param url the url to load * @param title the title of the dialog * @param frame the parent frame * @param visible true if you want the dialog to be visible, false if you want it to be invisible * to user */ public static void openURLinDialog(String url, String title, JFrame frame, boolean visible) { openURLinDialog(url, title, "goat16.png", frame, visible); }