Package unifeat.gui

Class ResultPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class ResultPanel extends JPanel implements ActionListener
This java class is used to create and show a panel for showing the results.
Author:
Shahin Salavati, Sina Tabakhi
See Also:
  • Field Details

  • Constructor Details

    • ResultPanel

      public ResultPanel(String path)
      Creates new form ResultPanel. This method is called from within the constructor to initialize the form.
      Parameters:
      path - the path of the project
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      The listener method for receiving action events. Invoked when an action occurs.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      e - an action event
    • btn_showFeatActionPerformed

      private void btn_showFeatActionPerformed(ActionEvent e)
      This method sets an action for the btn_showFeat button.
      Parameters:
      e - an action event
      See Also:
    • btn_showDirActionPerformed

      private void btn_showDirActionPerformed(ActionEvent e)
      This method sets an action for the btn_showDir button.
      Parameters:
      e - an action event
    • btn_saveResActionPerformed

      private void btn_saveResActionPerformed(ActionEvent e)
      This method sets an action for the btn_saveRes button.
      Parameters:
      e - an action event
    • btn_exitActionPerformed

      private void btn_exitActionPerformed(ActionEvent e)
      This method sets an action for the btn_exit button.
      Parameters:
      e - an action event
    • setMessage

      public void setMessage(String text)
      Appends the given text to the end of the documents
      Parameters:
      text - the text to insert
    • setEnabledButton

      public void setEnabledButton()
      Enables the status of all buttons