I have got a csv file and I want import it into a JTable.
Is there a simple example showing how to import a csv file to JTable?
Use OpenCSV:
CSVReader reader = new CSVReader(new FileReader("yourfile.csv")); List myEntries = reader.readAll(); JTable table = new JTable(myEntries.toArray());
1.4m articles
1.4m replys
5 comments
57.0k users