gt:         jLabel10.setMinimumSize(new java.awt.Dimension(80, 20));
context: /*
   * Copyright (C) 2015 Max Dowkes
   *
   * This program is free software: you can redistribute it and/or modify
   * it under the terms of the GNU General Public License as published by
   * the Free Software Foundation, either version 3 of the License, or
   * (at your option) any later version.
   *
   * This program is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
   *
   * You should have received a copy of the GNU General Public License
   * along with this program.  If not, see <http://www.gnu.org/licenses/>. 
   */
  package cycgui;
  
  import cyccore.Booking;
  import cyccore.CYCDate;
  import cyccore.Customer;
  import cyccore.InitialisedObjects;
  import cyccore.*;
  import cycfacade.CYCFacade;
  import java.text.ParseException;
  import java.text.SimpleDateFormat;
  import java.util.*;
  import java.util.logging.Level;
  import java.util.logging.Logger;
  import javax.swing.DefaultListModel;
  import javax.swing.JList;
  
  /**
   *
   * @author Max Dowkes
   */
  public class SetUpGUI1A extends javax.swing.JFrame
  {
  
      CYCFacade cycf = new CYCFacade();
      Map<Integer, Booking> bookingMap;// = new HashMap<Integer, Booking>();
      Map<Integer, Customer> customerMap;
      Map<Integer, Room> roomMap;
      Map<Integer, EndTime> endTimeMap;
      Map<Integer, StartTime> startTimeMap;
      Scheduler scheduler = new Scheduler();
  
      /**
       * Creates new form SetUpGUI
       */
      public SetUpGUI1A()
      {
          this.listModel = new DefaultListModel();
          initComponents();
  
          this.setUpBookings();
      }
  
      /**
       * This method is called from within the constructor to initialize the form.
       * WARNING: Do NOT modify this code. The content of this method is always
       * regenerated by the Form Editor.
       */
      @SuppressWarnings("unchecked")
      // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
      private void initComponents()
      {
  
          jTabbedPane1 = new javax.swing.JTabbedPane();
          addCustomerPanel = new javax.swing.JPanel();
          jLabel37 = new javax.swing.JLabel();
          addCustomerNameField = new javax.swing.JTextField();
          jLabel2 = new javax.swing.JLabel();
          jLabel39 = new javax.swing.JLabel();
          addCustomerJButton = new javax.swing.JButton();
          makeBookingPanel = new javax.swing.JPanel();
          makeBookingDateJTextField = new javax.swing.JTextField();
          jLabel24 = new javax.swing.JLabel();
          jLabel25 = new javax.swing.JLabel();
          makeBookingRoomJComboBox = new javax.swing.JComboBox();
          jLabel26 = new javax.swing.JLabel();
          makeBookingStartTimeJComboBox = new javax.swing.JComboBox();
          jLabel27 = new javax.swing.JLabel();
          makeBookingEndTimeJComboBox = new javax.swing.JComboBox();
          jLabel28 = new javax.swing.JLabel();
          makeBookingJButton = new javax.swing.JButton();
          jLabel22 = new javax.swing.JLabel();
          makeBookingCustomerJComboBox = new javax.swing.JComboBox();
          attendeesJTextField = new javax.swing.JTextField();
          jLabel3 = new javax.swing.JLabel();
          repeatBookingJCheckBox = new javax.swing.JCheckBox();
          jLabel5 = new javax.swing.JLabel();
          jLabel9 = new javax.swing.JLabel();
          repeatBookingsJTextField = new javax.swing.JTextField();
          jLabel38 = new javax.swing.JLabel();
          changeBookingPanel = new javax.swing.JPanel();
          jLabel29 = new javax.swing.JLabel();
          jLabel30 = new javax.swing.JLabel();
          jScrollPane4 = new javax.swing.JScrollPane();
          jList3 = new javax.swing.JList();
          jLabel31 = new javax.swing.JLabel();
          changeDateField = new javax.swing.JTextField();
          jLabel32 = new javax.swing.JLabel();
          jLabel33 = new javax.swing.JLabel();
          changeRoomCombobox = new javax.swing.JComboBox();
          jLabel34 = new javax.swing.JLabel();
          changeStartTimeCombobox = new javax.swing.JComboBox();
          jLabel35 = new javax.swing.JLabel();
          changeEndTimeCombobox = new javax.swing.JComboBox();
          jLabel36 = new javax.swing.JLabel();
          jButton4 = new javax.swing.JButton();
          changeCustomerField = new javax.swing.JTextField();
          jLabel1 = new javax.swing.JLabel();
          cancelBookingsPanel = new javax.swing.JPanel();
          jScrollPane1 = new javax.swing.JScrollPane();
          cancelBookingJList = new javax.swing.JList();
          jLabel6 = new javax.swing.JLabel();
          jLabel7 = new javax.swing.JLabel();
          cancelBookingJButton = new javax.swing.JButton();
          jLabel4 = new javax.swing.JLabel();
          jLabel10 = new javax.swing.JLabel();
          viewCustomerField = new javax.swing.JTextField();
          viewRoomField = new javax.swing.JTextField();
          jLabel11 = new javax.swing.JLabel();
          viewStartTimeField = new javax.swing.JTextField();
          jLabel12 = new javax.swing.JLabel();
          viewDateField = new javax.swing.JTextField();
          jLabel13 = new javax.swing.JLabel();
          viewEndTimeField = new javax.swing.JTextField();
          jLabel14 = new javax.swing.JLabel();
          jLabel21 = new javax.swing.JLabel();
          viewBookingsPanel = new javax.swing.JPanel();
          jLabel23 = new javax.swing.JLabel();
          jLabel8 = new javax.swing.JLabel();
          jScrollPane2 = new javax.swing.JScrollPane();
          jList2 = new javax.swing.JList();
          jLabel15 = new javax.swing.JLabel();
          jLabel16 = new javax.swing.JLabel();
          viewCustomerField1 = new javax.swing.JTextField();
          viewRoomField1 = new javax.swing.JTextField();
          jLabel17 = new javax.swing.JLabel();
          viewStartTimeField1 = new javax.swing.JTextField();
          jLabel18 = new javax.swing.JLabel();
          viewDateField1 = new javax.swing.JTextField();
          jLabel19 = new javax.swing.JLabel();
          viewEndTimeField1 = new javax.swing.JTextField();
          jLabel20 = new javax.swing.JLabel();
  
          setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
  
          jTabbedPane1.setMinimumSize(new java.awt.Dimension(600, 400));
          jTabbedPane1.setPreferredSize(new java.awt.Dimension(800, 600));
  
          jLabel37.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
          jLabel37.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
          jLabel37.setText("Add Customer Details Panel");
  
          addCustomerNameField.setText("Enter Name");
  
          jLabel2.setText("Customer");
  
          jLabel39.setText("Add Customer");
  
          addCustomerJButton.setText("Add Customer");
          addCustomerJButton.addActionListener(new java.awt.event.ActionListener()
          {
              public void actionPerformed(java.awt.event.ActionEvent evt)
              {
                  addCustomerJButtonActionPerformed(evt);
              }
          });
  
          javax.swing.GroupLayout addCustomerPanelLayout = new javax.swing.GroupLayout(addCustomerPanel);
          addCustomerPanel.setLayout(addCustomerPanelLayout);
          addCustomerPanelLayout.setHorizontalGroup(
              addCustomerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(addCustomerPanelLayout.createSequentialGroup()
                  .addContainerGap()
                  .addGroup(addCustomerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                      .addGroup(addCustomerPanelLayout.createSequentialGroup()
                          .addComponent(jLabel37, javax.swing.GroupLayout.DEFAULT_SIZE, 760, Short.MAX_VALUE)
                          .addContainerGap())
                      .addGroup(addCustomerPanelLayout.createSequentialGroup()
                          .addGap(12, 12, 12)
                          .addGroup(addCustomerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                              .addComponent(addCustomerNameField, javax.swing.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE)
                              .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE)
                              .addComponent(jLabel39, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(addCustomerJButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                          .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
          );
          addCustomerPanelLayout.setVerticalGroup(
              addCustomerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(addCustomerPanelLayout.createSequentialGroup()
                  .addComponent(jLabel37, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(jLabel2)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(addCustomerNameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addGap(18, 18, 18)
                  .addComponent(jLabel39)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(addCustomerJButton)
                  .addGap(0, 406, Short.MAX_VALUE))
          );
  
          jTabbedPane1.addTab("Add Customer Details", addCustomerPanel);
  
          makeBookingDateJTextField.setText(CYCDate.getTodaysDate());
  
          jLabel24.setText("Enter Date dd/mm/yy");
  
          jLabel25.setText("Select Room");
  
          jLabel26.setText("Select Start Time");
  
          jLabel27.setText("Select End Time");
  
          jLabel28.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
          jLabel28.setText("Click To Make Booking");
  
          makeBookingJButton.setText("Make Booking");
          makeBookingJButton.addActionListener(new java.awt.event.ActionListener()
          {
              public void actionPerformed(java.awt.event.ActionEvent evt)
              {
                  makeBookingJButtonActionPerformed(evt);
              }
          });
  
          jLabel22.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
          jLabel22.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
          jLabel22.setText("Make Booking Panel");
  
          makeBookingCustomerJComboBox.setMinimumSize(new java.awt.Dimension(79, 24));
          makeBookingCustomerJComboBox.setPreferredSize(new java.awt.Dimension(79, 24));
  
          attendeesJTextField.setText("jTextField1");
  
          jLabel3.setText("Attendees");
  
          repeatBookingJCheckBox.setText("Yes");
  
          jLabel5.setText("Booking Repeats");
  
          jLabel9.setText("Enter Number of Weeks");
  
          repeatBookingsJTextField.setText("1");
  
          jLabel38.setText("Customer");
  
          javax.swing.GroupLayout makeBookingPanelLayout = new javax.swing.GroupLayout(makeBookingPanel);
          makeBookingPanel.setLayout(makeBookingPanelLayout);
          makeBookingPanelLayout.setHorizontalGroup(
              makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addComponent(jLabel22, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
              .addGroup(makeBookingPanelLayout.createSequentialGroup()
                  .addContainerGap()
                  .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                      .addGroup(makeBookingPanelLayout.createSequentialGroup()
                          .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                              .addComponent(makeBookingDateJTextField)
                              .addComponent(jLabel24, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(jLabel25, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(makeBookingRoomJComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(jLabel26, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(makeBookingStartTimeJComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(makeBookingEndTimeJComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(jLabel27, javax.swing.GroupLayout.PREFERRED_SIZE, 146, javax.swing.GroupLayout.PREFERRED_SIZE))
                          .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                              .addGroup(makeBookingPanelLayout.createSequentialGroup()
                                  .addGap(18, 18, 18)
                                  .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                      .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                          .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE)
                                          .addComponent(attendeesJTextField, javax.swing.GroupLayout.Alignment.LEADING))
                                      .addComponent(jLabel38, javax.swing.GroupLayout.PREFERRED_SIZE, 137, javax.swing.GroupLayout.PREFERRED_SIZE)))
                              .addGroup(makeBookingPanelLayout.createSequentialGroup()
                                  .addGap(168, 168, 168)
                                  .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                      .addComponent(jLabel28, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE)
                                      .addComponent(makeBookingJButton, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE)))
                              .addGroup(makeBookingPanelLayout.createSequentialGroup()
                                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                  .addComponent(makeBookingCustomerJComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 146, javax.swing.GroupLayout.PREFERRED_SIZE))))
                      .addComponent(repeatBookingJCheckBox)
                      .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                          .addComponent(repeatBookingsJTextField, javax.swing.GroupLayout.Alignment.LEADING)
                          .addComponent(jLabel9, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                          .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                  .addContainerGap(322, Short.MAX_VALUE))
          );
          makeBookingPanelLayout.setVerticalGroup(
              makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(makeBookingPanelLayout.createSequentialGroup()
                  .addComponent(jLabel22, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                      .addComponent(jLabel24)
                      .addComponent(jLabel38))
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                      .addComponent(makeBookingDateJTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(makeBookingCustomerJComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                  .addGap(18, 18, 18)
                  .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                      .addComponent(jLabel25, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(jLabel3))
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                      .addComponent(makeBookingRoomJComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(attendeesJTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                  .addGap(18, 18, 18)
                  .addComponent(jLabel26)
                  .addGap(18, 18, 18)
                  .addComponent(makeBookingStartTimeJComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addGap(18, 18, 18)
                  .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                      .addGroup(makeBookingPanelLayout.createSequentialGroup()
                          .addComponent(jLabel27)
                          .addGap(18, 18, 18)
                          .addComponent(makeBookingEndTimeJComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                      .addGroup(makeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                          .addGroup(makeBookingPanelLayout.createSequentialGroup()
                              .addComponent(jLabel28)
                              .addGap(33, 33, 33))
                          .addComponent(makeBookingJButton)))
                  .addGap(18, 18, 18)
                  .addComponent(jLabel5)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                  .addComponent(repeatBookingJCheckBox)
                  .addGap(18, 18, 18)
                  .addComponent(jLabel9)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(repeatBookingsJTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(141, Short.MAX_VALUE))
          );
  
          jTabbedPane1.addTab("Make Booking", makeBookingPanel);
  
          jLabel29.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
          jLabel29.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
          jLabel29.setText("Change Bookings Panel");
  
          jLabel30.setText("Select Booking From List");
  
          jList3.setModel(listModel);
          jList3.addListSelectionListener(new javax.swing.event.ListSelectionListener()
          {
              public void valueChanged(javax.swing.event.ListSelectionEvent evt)
              {
                  jList3ValueChanged(evt);
              }
          });
          jScrollPane4.setViewportView(jList3);
  
          jLabel31.setText("Selected Booking");
  
          changeDateField.setText(CYCDate.getTodaysDate());
  
          jLabel32.setText("Change Date dd/mm/yy");
  
          jLabel33.setText("Change Room");
  
          changeRoomCombobox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Room 1", "Room 2", "Room 3", "Room 4", "Room 5", "Pitch 1", "Pitch 2" }));
  
          jLabel34.setText("Change Start Time");
  
          changeStartTimeCombobox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "9am", "10am", "11am", "12pm", "1pm", "2pm", "3pm", "4pm" }));
  
          jLabel35.setText("Change End Time");
  
          changeEndTimeCombobox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "10am", "11am", "12pm", "1pm", "2pm", "3pm", "4pm", "5pm" }));
  
          jLabel36.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
          jLabel36.setText("Click To Change Booking");
  
          jButton4.setText("Change Booking");
  
          changeCustomerField.setText("jTextField1");
  
          jLabel1.setText("Customer");
  
          javax.swing.GroupLayout changeBookingPanelLayout = new javax.swing.GroupLayout(changeBookingPanel);
          changeBookingPanel.setLayout(changeBookingPanelLayout);
          changeBookingPanelLayout.setHorizontalGroup(
              changeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addComponent(jLabel29, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
              .addGroup(changeBookingPanelLayout.createSequentialGroup()
                  .addContainerGap()
                  .addGroup(changeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                      .addComponent(jLabel30, javax.swing.GroupLayout.PREFERRED_SIZE, 235, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 580, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(jLabel31)
                      .addGroup(changeBookingPanelLayout.createSequentialGroup()
                          .addGroup(changeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                              .addComponent(changeDateField)
                              .addComponent(jLabel32, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(jLabel33, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(changeRoomCombobox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(jLabel34, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(changeStartTimeCombobox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(changeEndTimeCombobox, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE)
                              .addComponent(jLabel35, javax.swing.GroupLayout.PREFERRED_SIZE, 146, javax.swing.GroupLayout.PREFERRED_SIZE))
                          .addGroup(changeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                              .addGroup(changeBookingPanelLayout.createSequentialGroup()
                                  .addGap(49, 49, 49)
                                  .addComponent(jLabel36))
                              .addGroup(changeBookingPanelLayout.createSequentialGroup()
                                  .addGap(58, 58, 58)
                                  .addComponent(jButton4))
                              .addGroup(changeBookingPanelLayout.createSequentialGroup()
                                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                  .addGroup(changeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                      .addComponent(changeCustomerField, javax.swing.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE)
                                      .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))))
                  .addContainerGap(203, Short.MAX_VALUE))
          );
          changeBookingPanelLayout.setVerticalGroup(
              changeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(changeBookingPanelLayout.createSequentialGroup()
                  .addComponent(jLabel29, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(jLabel30, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addGap(18, 18, 18)
                  .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 180, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(jLabel31)
                  .addGap(18, 18, 18)
                  .addGroup(changeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                      .addComponent(jLabel32)
                      .addComponent(jLabel1))
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addGroup(changeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                      .addComponent(changeDateField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(changeCustomerField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                  .addGap(18, 18, 18)
                  .addComponent(jLabel33, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(changeRoomCombobox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addGap(18, 18, 18)
                  .addComponent(jLabel34)
                  .addGap(18, 18, 18)
                  .addGroup(changeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                      .addGroup(changeBookingPanelLayout.createSequentialGroup()
                          .addGroup(changeBookingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                              .addComponent(changeStartTimeCombobox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                              .addComponent(jLabel36))
                          .addGap(18, 18, 18)
                          .addComponent(jLabel35))
                      .addComponent(jButton4))
                  .addGap(18, 18, 18)
                  .addComponent(changeEndTimeCombobox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          jTabbedPane1.addTab("Change Booking", changeBookingPanel);
  
          cancelBookingJList.setModel(listModel);
          cancelBookingJList.addListSelectionListener(new javax.swing.event.ListSelectionListener()
          {
              public void valueChanged(javax.swing.event.ListSelectionEvent evt)
              {
                  cancelBookingJListValueChanged(evt);
              }
          });
          jScrollPane1.setViewportView(cancelBookingJList);
  
          jLabel6.setText("Select Booking From List");
  
          jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
          jLabel7.setText("Cancel Selected Booking");
  
          cancelBookingJButton.setText("Cancel Booking");
          cancelBookingJButton.addActionListener(new java.awt.event.ActionListener()
          {
              public void actionPerformed(java.awt.event.ActionEvent evt)
              {
                  cancelBookingJButtonActionPerformed(evt);
              }
          });
  
          jLabel4.setText("Selected Booking");
  
          jLabel10.setText("Customer");
          jLabel10.setMaximumSize(new java.awt.Dimension(150, 20));
  