panel.setLayout(gridBagLayout);// Zeile 1panel.add(new JLabel("Name:"), new GridBagConstraints(0,0, 1,1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));panel.add(new JTextField(10), new GridBagConstraints(1,0, 1,1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));// Zeile 2panel.add(new JLabel("Vorname:"), new GridBagConstraints(0,1, 1,1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));panel.add(new JTextField(10), new GridBagConstraints(1,1, 1,1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));// Zeile 3panel.add(new JLabel("Geburtsdatum:"), new GridBagConstraints(0,2, 1,1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));panel.add(new JTextField(2), new GridBagConstraints(1,2, 1,1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));panel.add(new JLabel("."), new GridBagConstraints(2,2, 1,1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));panel.add(new JTextField(2), new GridBagConstraints(3,2, 1,1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));panel.add(new JLabel("."), new GridBagConstraints(4,2, 1,1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));panel.add(new JTextField(2), new GridBagConstraints(5,2, 1,1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,0,0,0), 0,0));