Results 1 to 3 of 3
Thread: Problem with jTable
- 03-21-2011, 07:29 PM #1
Member
- Join Date
- Feb 2011
- Posts
- 84
- Rep Power
- 0
Problem with jTable
Hi,
I have a situation where I have a main screen showing 1000 records in a jtable.
There is a button which opens up a seach screen to search one particular id among the 1000 record so that a new screen opens up with just 1 row of record.
The record is fetched correctly from database but it is not displayed as a row in the jTable.i dont know what is wrong?
Its like Screen 1 having a jtable and search button
Screen 2 is same as screen 1 with just 1 record.I tried to remove the data from the jtable by
fireTableRowsDeleted(firstrow,lastrow)
and then display the new record.
Do I ahve to do anything special to make the new record visible.Please can anyone provide any clues.
Please help its urgent.
Thanks,
- 03-21-2011, 08:07 PM #2
Member
- Join Date
- Feb 2011
- Posts
- 84
- Rep Power
- 0
somebody please help.
Thanks,
-
It's hard to know how to help you as we have no idea what your code looks like. If it's truly "urgent", you might want to simplify your code, create an SSCCE just to try to work on and solve the problem and post it here. This will offer your best chance of getting a quick helpful answer.
Similar Threads
-
JTable problem
By Gesqy in forum NetBeansReplies: 0Last Post: 07-17-2010, 07:28 AM -
Problem With AI and JTable
By elad_bj in forum New To JavaReplies: 8Last Post: 04-20-2009, 02:24 PM -
JTABLE problem
By MaximInf in forum AWT / SwingReplies: 4Last Post: 06-21-2008, 10:45 AM -
Jtable duplicates through Hashtable (JTable condition problem) my assignment plz help
By salmanpirzada1 in forum Advanced JavaReplies: 2Last Post: 05-15-2008, 10:15 AM -
Problem with JTable
By Felissa in forum AWT / SwingReplies: 2Last Post: 07-04-2007, 09:25 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks