Class AddFlightWindow

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

public class AddFlightWindow extends JFrame implements ActionListener
The AddFlightWindow class represents a GUI window for adding a new flight to the system.
See Also:
  • Constructor Details

    • AddFlightWindow

      public AddFlightWindow(MainWindow mainWindow)
      Constructs an AddFlightWindow object.
      Parameters:
      mainWindow - The main window of the application
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent ae)
      Handles the action events triggered by the buttons in the window.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      ae - The action event