Article View: borland.public.jbuilder.java.swing
Article #10842JTable updating problems
From: Samir
Date: Mon, 09 Aug 1999 00:00
Date: Mon, 09 Aug 1999 00:00
14 lines
1200 bytes
1200 bytes
I have created an application that adds data from jTextFields into a jTable when the save button is clicked. It is linked to a database so that when a save button is clicked the database is correctly updated, however the table does not refresh so as to reflect the new changes. The table is in a tablescrollpane. Currently my code is set so that in jbinit the table is built via a call to a method that populates the table, then, whenever save is pressed I recall this method so that it may update the table. I was not successful in my attempts. I hope that someone can be of assistance. The changes are only reflected when the application is rebuilt and run. Thanking you in advance. Samir
Technical Details
Message-ID:
<7omlqp$7hi4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e22b31e02b49239e,start X-Google-Attributes: gid111d45,public From: "Samir" <samir@codetech.com> Subject: JTable updating problems Date: 1999/08/09 Message-ID: <7omlqp$7hi4@forums.borland.com> X-Deja-AN: 510597653 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing