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 Details

  • Method Details

    • getJOptionEditorPane

      public static JEditorPane getJOptionEditorPane​(String htmlMessage)
      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