Class ShowBugReportDialogAction

java.lang.Object
javax.swing.AbstractAction
megamek.client.ui.ShowBugReportDialogAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class ShowBugReportDialogAction extends AbstractAction
See Also:
  • Constructor Details

    • ShowBugReportDialogAction

      public ShowBugReportDialogAction(@Nullable Container parent, @Nullable CopySystemDataAction copySystemDataAction)
      Creates an action that shows the Bug Report helper dialog. The parent frame for the dialog is the given parent if it's a window or the window the parent is in. The given Action is used for a "Copy System Data" button. This action needs to know the current project (MM/MML/MHQ) which is why it isn't created internally.
      Parameters:
      parent - The parent component
      copySystemDataAction - An Action shown as a button in the dialog
      See Also:
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)