title: How do you set the position of button in grid layout?
body: <p>My code: </p>
  
  <pre><code>public class Form {
      public static void main(String[] args) {
          Form form = new Form();
          form.go();
      }
  
      public void go() {
          JFrame form = new JFrame();
          GridLayout layout = new GridLayout(2,7);
          Label nameLabel = new Label("Name");
          form.setLayout(layout);
          JTextField nameBox = new JTextField();
          form.getContentPane().add(nameLabel);
          form.getContentPane().add(nameBox);
          form.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          form.setSize(500,500);
          form.setVisible(true);
      }
  }
  </code></pre>
  
  <p>Now, how can I set this position of the JTextField so its 2,7 and not 1,2?</p>