Results 1 to 3 of 3
  1. #1
    pink123 is offline Member
    Join Date
    Feb 2011
    Posts
    84
    Rep Power
    0

    Default 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,

  2. #2
    pink123 is offline Member
    Join Date
    Feb 2011
    Posts
    84
    Rep Power
    0

    Default

    somebody please help.

    Thanks,

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    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

  1. JTable problem
    By Gesqy in forum NetBeans
    Replies: 0
    Last Post: 07-17-2010, 08:28 AM
  2. Problem With AI and JTable
    By elad_bj in forum New To Java
    Replies: 8
    Last Post: 04-20-2009, 03:24 PM
  3. JTABLE problem
    By MaximInf in forum AWT / Swing
    Replies: 4
    Last Post: 06-21-2008, 11:45 AM
  4. Replies: 2
    Last Post: 05-15-2008, 11:15 AM
  5. Problem with JTable
    By Felissa in forum AWT / Swing
    Replies: 2
    Last Post: 07-04-2007, 10:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •