Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Event Driven Queries  RSS feed

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I got a event driven query which happens to be returning
something when being put in the SQLite Manager.
I have printed out the query when it got generated,
and pasted it in the SQLite manager.
And it shows the results correctly.
But "Nothing found" is always displayed
when the same search string is inputted to
the searchCustomerTable method.
Why is that?
And although sometimes it is found, the table doesn't get refreshed
Thanks
Jack
 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just don't understand why the JTable doesn't refresh itself.
I re-select the re-bind the table to the query to no avail.
I do a fireTableChanged also.
and table.revalidate() + table.repaint();
all of the above, but nothing happens
Thanks
Jack
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36396
453
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Swing forum since it isn't really about JDBC.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!