Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1949
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "Eric Sosman" <eric.sosman@THRWHITE.remove-dii-this> |
| Subject | Re: One missing link in j |
| Message-ID | <14mdnXWFFuGIlhHbnZ2dnUVZ_jadnZ2d@comcast.com> (permalink) |
| X-Comment-To | comp.lang.java.gui,comp.l |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <nvusl4-99v.ln1@zoogz.gregorie.org> |
| References | <nvusl4-99v.ln1@zoogz.gregorie.org> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 23 |
| Date | Wed, 27 Apr 2011 15:36:17 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303918577 96.60.20.240 (Wed, 27 Apr 2011 10:36:17 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:36:17 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1949 |
Show key headers only | View raw
To: comp.lang.java.gui,comp.l
Martin Gregorie wrote:
> [...]
> On a related point, I'm quite prepared to believe that there is a
> problem either in the design or documentation of JTable and TableModel.
> I haven't been able to discover how to update the display when the
> underlying data changes. JTable doesn't seem to respond to repaint() and
> I haven't spotted a way of causing a repaint after updating the user
> data structure that TableModel is mapped onto.
Extend AbstractTableModel, and call fireTableDataChanged,
fireTableRowsInserted, etc., methods. These are convenience
methods that eventually call the tableChanged method of the
TableModelListener interface; the JTable listens to its model.
--
Eric Sosman
esosman@ieee-dot-org.invalid
---
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
One missing link in javax "RC" <rc@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Oliver Wong" <oliver.wong@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Eric Sosman" <eric.sosman@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Oliver Wong" <oliver.wong@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Bjorn Abelli" <bjorn.abelli@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Martin Gregorie" <martin.gregorie@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Judy Szikora" <judy.szikora@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Eric Sosman" <eric.sosman@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Esmond Pitt" <esmond.pitt@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Martin Gregorie" <martin.gregorie@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Eric Sosman" <eric.sosman@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: One missing link in j "Bjorn Abelli" <bjorn.abelli@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
csiph-web