title: how to import datas from excel to jTable?
body: <pre><code>JFileChooser fc = new JFileChooser();
      int option = fc.showSaveDialog(NewJFrame1.this);
      if(option == JFileChooser.APPROVE_OPTION){
          String filename = fc.getSelectedFile().getName();
          String path = fc.getSelectedFile().getParentFile().getPath();
  
          int len = filename.length();
          String ext = "";
          String file = "";
  
          if(len &gt; 4){
              ext = filename.substring(len-4, len);
          }
  
          if(ext.equals(".xls")){
              file = path + "\\" + filename; 
          }else{
              file = path + "\\" + filename + ".xls"; 
          }
          toExcel(jTable1, new File(file));
  
  
      }
  </code></pre>
  
  <p>this is how i save my table to excel it works fine but i want to import these datas after i restart my program can someone help me about this ?</p>