Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable Binding problem

 
Mahesh Kedari
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,
I need some help for handling a JTable binding in multi user application.
Problem Description:
Bind the JTable with one of the table in database. And run two instances of this application. Insert the record from one session and Refresh the table in other session. It gives below Error stack.



Function performing refresh action is as given below.

Please help me figure out where am I going wrong.
Thanks
 
Mahesh Kedari
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got the solution guys.....
Just made the list used in this component as observable.
Steps:
1: In Net-Beans go to properties of list that you are using for binding the table.
2: Check observable flag.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic