title: Imported data only showing in first column in JTable (Java)
body: <p>I tried to make a simple GUI where I can add the First/Last Name of a person and their date of birth. After adding the data to the JTable I can save it in a TxT File and Load it back into the JTable again.</p>
  
  <p>Part where Data is saved:</p>
  
  <pre><code>private void saveListener(){
      jb1.addActionListener(e -&gt; {
          JFileChooser fileChooser = new JFileChooser();
          int returnVal = fileChooser.showSaveDialog(PeopleGUI.this);
          if (returnVal == JFileChooser.APPROVE_OPTION) {     // Datei Explorer
              try {
                  File file = fileChooser.getSelectedFile();
                  PrintWriter o = new PrintWriter(file); // o steht für Output
  
                  for (int col = 0; col &lt; peopleModel.getColumnCount(); col++) {
                      o.print(peopleModel.getColumnName(col) + ";");
                  }
  
                  o.println("");
  
                  for (int row = 0; row &lt; peopleModel.getRowCount(); row++) {
                      for (int col = 0; col &lt; peopleModel.getColumnCount(); col++) {
                          o.println(peopleModel.getValueAt(row, col));
                      }
                  }
  
                  o.close();
                  // Output in der Konsole
                  System.out.println("Success!");
              } catch (IOException c) {
                  c.printStackTrace();
              }
          }
      });
  }
  </code></pre>
  
  <p>Part where Data is loaded:</p>
  
  <pre><code>public void loadListener() {
      jb2.addActionListener(e -&gt; {
      final JFileChooser fileChooser = new JFileChooser();
      int response = fileChooser.showOpenDialog(PeopleGUI.this);
      if (response == JFileChooser.APPROVE_OPTION) {
          try {
              BufferedReader br = new BufferedReader(new FileReader("jlist.txt"));
  
              // Erste Linie sind Kolonnen Beschriftungen
              String firstLine = br.readLine().trim();
              String[] columnsName = firstLine.split(";");
              DefaultTableModel model = (DefaultTableModel) peopleList.getModel();
              model.setColumnIdentifiers(columnsName);
  
              // Daten vom TxT holen
              Object[] tableLines = br.lines().toArray();
  
              // Reihen mit Daten
              for (int i = 0; i &lt; tableLines.length; i++) {
                  String line = tableLines[i].toString().trim();
                  String[] dataRow = line.split("/");
                  model.addRow(dataRow);
                  }
              }
              catch (IOException b) {
                  b.printStackTrace();
              }
          }
      });
  }
  </code></pre>
  
  <p>The problem is, that the imported data is only showing in the first row:</p>
  
  <p><a href="https://i.stack.imgur.com/lS7V5.png" rel="nofollow noreferrer">This is how it looks right now</a></p>
  
  <p>Does anyone now how to fix this issue?</p>
  
  <p>Thanks in advance!</p>