Class SwingHtmlPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SwingHtmlPanel extends AbstractHtmlPanel
HTML rendering panel based on a Swing JEditorPane.
Since:
17 Jul 2019
Author:
Mark Taylor
See Also:
  • Constructor Details

    • SwingHtmlPanel

      public SwingHtmlPanel()
  • Method Details

    • setUrl

      public void setUrl(URL url)
      Description copied from class: AbstractHtmlPanel
      Sets the location which is to be displayed in this panel.
      Specified by:
      setUrl in class AbstractHtmlPanel
      Parameters:
      url - locator of resource to display
    • getUrl

      public URL getUrl()
      Description copied from class: AbstractHtmlPanel
      Returns the location which is currently displayed in this panel.
      Specified by:
      getUrl in class AbstractHtmlPanel
      Returns:
      locator of displayed resource