Package com.compomics.util.gui
Class JOptionEditorPane
java.lang.Object
com.compomics.util.gui.JOptionEditorPane
public class JOptionEditorPane extends Object
A dialog to show HTML content with clickable links inside a JOptionsPane.
- Author:
- Harald Barsnes
-
Constructor Summary
Constructors Constructor Description JOptionEditorPane()
-
Method Summary
Modifier and Type Method Description static JEditorPane
getJOptionEditorPane(String htmlMessage)
Returns a JEditorPane with HTML support to be used in a JOptionsPane.
-
Constructor Details
-
JOptionEditorPane
public JOptionEditorPane()
-
-
Method Details
-
getJOptionEditorPane
Returns a JEditorPane with HTML support to be used in a JOptionsPane.- Parameters:
htmlMessage
- the message to show, can include HTML, e.g., links, but not start and end HTML tags- Returns:
- a JEditorPane with HTML support
-