• Post Reply Bookmark Topic Watch Topic
  • New Topic

To Change focus between columns after editing values in a column  RSS feed

guy madura
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody,

I have a JTable which uses a table model and an editor .The table has two columns .I need to enter some value in one column cell and then I have to press button ,where some validations are being done with the value entered before in the Jtable.Moreover I have used table changed event.The porblem I faced is the table changed event doesnt get fired when I click the button .But after entering the values in Jtable ,if I changed the focus to the other column with the help of mouse ,the table changed event get fired.So I think the main problem is in focus change of columns in Jtable ,or the listener doesnt know whether the ediing is stopped or not.Can any one provide me solution for this.
Thanks in advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!