Class AlertBox

java.lang.Object
com.mg105.user_interface.AlertBox

public class AlertBox extends Object
AlertBox is a component that creates a new window and display a users a message. This message is usually related to if an action the user performed was successful or not.
  • Constructor Details

    • AlertBox

      public AlertBox()
  • Method Details

    • display

      public void display(String msg)
      Displays a modal that must be resolved before switches to a different window
      Parameters:
      msg - the message to display`