If Anyone Knows , can you please help me how to import the text file to JTable by using JFilechooser ?
Even the text file contains the specific charecters line length
eg: idUsernamePasswordEmailAgeGender ( ID = 2 Chars, Username = 10 chars ( if username not having 10 chars means, it include space for that, password = 5 chars, email = 5 chars, Age = 2 chars, Gender = 1 chars)
Here is my code :
i am not getting error .
Here i attached my code link.
https://coderanch.com/t/704099/java/read-text-file-JTable-JFilechooser#3302082
And my text file values : ( i saved in sampleinput.txt)
Output is :
But i need the text file in Jtable by using jfilechooser. plz help me...
Thanks in advance