This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi Buddies, I am new to Java but have been actively working for past few days on GUI development stuff. I have problems with event handling.There is a Jtable which is populated with data from Sybase.and in the last column there is a checkbox. When a particular row in Jtable is selected the comment in Textarea (Comment field)gets populated if there is any data stored in database for that record. Now when the checkbox is checked the comment field should become editable and a comment should be entered for the first row checked .After this when subsequently any row is checked this comment should appear automatically for that checked row and if the row is unchecked the comment that was previously present in the database should appear. Now the problem is whenever i check the checkbox the comment field becomes editable with the record from the database.and if i update it and check another row the other row is not showing the same comment and when i come back to the row for which i updated for that also that comment is lost. PLease suggest a way out of this problem. Thanks in advance.