I have solved this problem
Type: Posts; User: legend101z
I have solved this problem
i'm not sure how to do that i've look everywhere, but no luck. i'm not very experience in using j table.
This is what I have for my edit button
Editbutton.addActionListener(new...
what I want:
When I select a row I would like to be able to edit/update the information within it when I click my button.
My table
String columns[] = { "First Name", "Last Name", "Phone...
tableModel.addRow(line.split(": "));
this line seem to be the problem.
--- Update ---
ok it seem like i was able to solve my problem but now i have another issue. When i load my file ,...
what im trying to is open a text file that will display it content in jtable.
i try about everything and i still can't get it to work.
loadcontact.addActionListener(new ActionListener() {...
Ok i was able to figure out how to save the data in my jtable as text file but im not sure how i suppose to load it.
I've been trying to figure this out for few day now and i still lost on how to go...
Ok i was able to figure out how to save the data in my jtable as text file but im not sure how i suppose to load it.
I've been trying to figure this out for few day now and i still lost on how to go...
for example if i input 2 it would go straight to option 2 and then if i press 1 it would go to option 1. from there i want to be able to go to any other option without the program stopping. help...