I want to import Excel file data in JTable.For that I am using following Code,
Expand|Select|Wrap|Line Numbers
- String excelFileName = "Team1.xls";
- File file = new File(excelFileName ); //‘file’ is the file you want to load.
- JProgressBar progressBar = new JProgressBar();
- JTableReadTableModelTask task = new JTableReadTableModelTask(file, null, progressBar, model);
- task.execute();
I am confused about how to import this class.I can't get this package.
How to solve this error?
Is there any other way to get this output?
This is the big problem for my project.Please help me to solve.
Thanks,
Vikas Sawant