jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes Database records are not added in JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Database records are not added in JTable" Watch "Database records are not added in JTable" New topic

Database records are not added in JTable

pooja prabhu
Ranch Hand

Joined: Sep 23, 2012
Posts: 33
When I click on button all relevant records are added to JTable and if it doesn't contain any record..wen i click on that same button second time in same run...it doesn't show any records even if its present in database.
Kemal Sokolovic

Joined: Jun 19, 2010
Posts: 825

As one of the great Ranchers once said, and I quote: "SSCCE or it didn't happen".

Especially if I can't understand what the issue really is from your question.

The quieter you are, the more you are able to hear.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38057
And how did you run the database app from the command line/terminal?
I agree. Here's the link: http://aspose.com/file-tools
subject: Database records are not added in JTable
Similar Threads
refreshing a JTable
JTable problem
Add checkbox in JTable
CONFUSED ... Isn't JList more appropriate than JTable?