Now i will explain how to import your csv to database in JAVA GUI. You must make class java for connect to your database.
1. You must make class java for connect to your database.
and this example code for connect to your database.
2. Make new Jframe class and put two Jbutton on your jframe.
3. We make filechooser for take your csv file.
and the code for filechooser
4. after that, we make import for import csv to database.
and the code for import csv
and this all code for class import.
5. make sample CSV file.
6. Import CSV file and check on your database.
Before I import
After I import
sorry for my bad english. i hope usefull