Results 1 to 4 of 4
  1. #1
    paty is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default how to refresh data of the JTable

    I use JTable for showing data from database, when I add new data to database table this record doesn't appear in JTable.
    What's the problem?
    What am I doing wrong?

    thank you.

  2. #2
    JavaBean's Avatar
    JavaBean is offline Moderator
    Join Date
    May 2007
    Posts
    1,270
    Rep Power
    9

    Default

    Try calling repaint() method when you want an update.

  3. #3
    jasmine is offline Member
    Join Date
    Jul 2007
    Posts
    1
    Rep Power
    0

    Default

    what is dependency injection

  4. #4
    herfnai is offline Member
    Join Date
    Aug 2008
    Posts
    13
    Rep Power
    0

Similar Threads

  1. refresh JPanel
    By olesja in forum AWT / Swing
    Replies: 1
    Last Post: 04-16-2008, 04:58 PM
  2. refresh a different window
    By marceldupont in forum AWT / Swing
    Replies: 3
    Last Post: 03-22-2008, 03:44 AM
  3. How to Refresh the same page by JSP
    By AbuAziz in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 12-10-2007, 05:06 AM
  4. Problems with Jtable connected to data base
    By elizabeth in forum AWT / Swing
    Replies: 2
    Last Post: 08-07-2007, 05:24 PM
  5. Refresh session
    By cachi in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-07-2007, 08:52 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
  •