docs: private static void createAndShowGUI(CarSearchModel searchModel, CarReserveModel reserveModel) {
          //Create and set up the window.
          JFrame appFrame = new JFrame(Messages.CarRentalClient_Title);
          appFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
  
          // Display the window centered on the screen
          Dimension d = appFrame.getToolkit().getScreenSize();
          appFrame.setLocation((d.width / 2) - (appFrame.getWidth() / 2), (appFrame.getHeight() / 2));
   
          CarRentalClientGui gui = new CarRentalClientGui(searchModel, reserveModel);
          gui.appFrame = appFrame;
          appFrame.setContentPane(gui);        
          appFrame.pack();
  
          appFrame.setVisible(true);
          appFrame.toFront();
      }