Package weka.gui.sql

Class InfoPanel

    • Constructor Detail

      • InfoPanel

        public InfoPanel​(JFrame parent)
        creates the panel
        Parameters:
        parent - the parent of this panel
    • Method Detail

      • setFocus

        public void setFocus()
        sets the focus in a designated control
      • clear

        public void clear()
        clears the content of the panel
      • copyToClipboard

        public boolean copyToClipboard()
        copies the currently selected error message to the clipboard
        Returns:
        true if the content was copied
      • append

        public void append​(String msg,
                           String icon)
        adds the given message to the end of the list (with the associated icon at the beginning)
        Parameters:
        msg - the message to append to the list
        icon - the filename of the icon
      • append

        public void append​(Object msg)
        adds the given message to the end of the list
        Parameters:
        msg - the message to append to the list