Class ResultsTextPane


  • public class ResultsTextPane
    extends JTextPane
    • Constructor Detail

      • ResultsTextPane

        public ResultsTextPane()
    • Method Detail

      • append

        public void append​(String paramTextStr)
        Method to append String into the current document
        Parameters:
        paramTextStr - String to be inserted into the document
      • insertComponent

        public void insertComponent​(Component paramCompObj)
        JTextPane method to insert a component into the document as a replacement for currently selected content. If no selection is made, the the component is inserted at the current position of the caret.
        Overrides:
        insertComponent in class JTextPane
        Parameters:
        paramCompObj - the component to insert