Package weka.gui.sql

Class InfoPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class InfoPanel extends JPanel
A simple panel for displaying information, e.g. progress information etc.
Version:
$Revision: 8034 $
Author:
FracPete (fracpete at waikato dot ac dot nz)
See Also:
  • Constructor Details

    • InfoPanel

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

    • 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