Updating database from jtable absolutely 100 uruguay dating site no charge

Rated 4.31/5 based on 864 customer reviews

my Table Header()Reordering Allowed(false); It also has the effect that it disallows column selection. When I click insert key, new row should appear in jtable and values to be inserted in it to store in database. From there the user can type in the information they need.

Cheers, Rachel Hi Rachel, You are really helping me a lot. Cheers, Rachel Hi Rachel, I am working on the problem which i said above. I will give my update, immediately i complete my task. Sometimes I tend to get ahead of myself when explaining.

I have found the same problem posted by some other person and you have replied it. Thanking you, Agatha.i tested the code i posted and it worked perfectly but people on sun forums says that it's such a bad behaviour to mix the ui and the database,and there's no object oriented here??? You want to get the logic for updating the database (in MVC, the "C") a long way away from the display (the "V") because the two perform different things, and it allows easy maintenance if the two are well separated. Step 1: It's going to be way easier for the whole thing if you make your table extend a Table Model from now (if you haven't already). Step 2: In the table model you need to enable the cells to be editable.

Don't forget to post your SSCCE in the new mahmoud saleh , I tried to run your code with some modification according to my database but it gives me Class Lang.exception on this line: Is it possible to restrict the user..achieving this?? Thanks & Bye, Agatha Hi rachel, Thanks for your inputs without which I wud still have been stuck.But I dont want the user to move columns through dragging.I need to just add/modify/delete the needed rows, not the whole table.programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums Hello, I need to update database by editing the values in JTable.

Leave a Reply