title: Trouble configuring GUI
body: <p>Getting errors in one of my classes, "cannot find symbol". What am i doing wrong here?
  Do I need to declare them before hand?</p>
  
  <p>Getting errors in one of my classes, "cannot find symbol". What am i doing wrong here?
  Do I need to declare them before hand?</p>
  
  <p>Trying to make it look like this:</p>
  
  <p><img src="https://i.stack.imgur.com/b32MB.png" alt="Add Airport"></p>
  
  <pre><code>package userInterface;
  
  import javax.swing.JPanel;
  import java.awt.*;
  import javax.swing.JButton;
  
  
  
  /**
   *
   * @author 
   */
  public class AddAirport {
      private JPanel mainPane;
  
  
  public AddAirport(JPanel mainPane){
  
  
  GridBagLayout gridBagLayout;
  gridBagConstraints constraints;
  JPanel buttonPane;
  JPanel dataPane;
  BorderLayout borderLayout;
  JButton addBtn;
  JButton canxBtn;
  JLabel newAirport;
  JLabel enterName;
  JTextField airportName;
  JLabel enterCity;
  JTextField airportCity;
  JLabel selectState;
  JComboBox airportState;
  JLabel enterCode;
  
  
  
  }
  
  
  }
  </code></pre>