Class PopupCongratulations

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

public class PopupCongratulations extends WebbPopup
A popup that congratulates the user for completing a puzzle.
See Also:
  • Constructor Details

    • PopupCongratulations

      public PopupCongratulations(long time, int progressMin, int progressMax, int progressCurrent, String currentTitle, String nextTitle)
      Creates a new PopupCongratulations.
      Parameters:
      time - The time it took the user to complete the puzzle. (in milliseconds)
      progressMin - The minimum progress value.
      progressMax - The maximum progress value.
      progressCurrent - The current progress value.
      currentTitle - The title of the user.
      nextTitle - The title of the next rank
  • Method Details

    • populateComponents

      protected void populateComponents(JPanel contentPane, SpringLayout layout)
      Description copied from class: WebbPopup
      Populates the components of the popup.
      Specified by:
      populateComponents in class WebbPopup
      Parameters:
      contentPane - The content pane of the popup.
      layout - The layout of the popup.