Class GHtmlTextPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class GHtmlTextPane extends JTextPane
A JTextPane for rendering HTML, as well as copying WYSIWYG text copying.
See Also:
  • Constructor Details

    • GHtmlTextPane

      public GHtmlTextPane()
  • Method Details

    • getSelectedText

      public String getSelectedText()
      Overridden to allow copying HTML content in its display form, without formatting. The default Java copy action will call this method.
      Overrides:
      getSelectedText in class JTextComponent