Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

I get unwanted duplicate lines when editing the data content of my JTable

807607Jan 18 2007 — edited Jan 20 2007
I have created an editable JTable (filled with data from an SQL) with a modified instance of AbstractDataModel.
I have a phenomenon that I cannot explain nor fix: each time I edit a data field in the JTable and press ENTER or leave the field, the edited line is duplicated. The extra content is not sent to my SQL (if I recreate the table everything is fine, except that certainly the changed value is lost). The problem must come from the Java code.
Ok, I admit, that I am not a Java pro and might have made a really stupid error, but I cannot find it.

Has someone already seen such a behavior?

Thanks

CCH

Message was edited by:
CCHuser
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2007
Added on Jan 18 2007
9 comments
270 views