Class ContractJournalPrompt

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ContractJournalPrompt extends JDialog
A small prompt, shown when a contract ends, offering to open the Oracle Console's journal on a new note describing the contract. A "don't show again" check box sets the MHQConstants.NAG_CONTRACT_JOURNAL_PROMPT client option, which can be turned back on from the Reminders page of the MekHQ Options.
Since:
0.51.01
See Also:
  • Method Details

    • offer

      public static void offer(JFrame frame, Campaign campaign, AbstractContract contract, MissionStatus status)
      Asks the player whether they want to write a journal entry for a contract that has just ended, and opens the journal on a new note if they do. Does nothing if the player has hidden the prompt.
      Parameters:
      frame - the MekHQ main window
      campaign - the campaign
      contract - the contract that ended
      status - how the contract ended
      Since:
      0.51.01