Re: JTable




"Regina" <reginacarmela@xxxxxxxxx> wrote in message
news:1133884152.983588.79580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
> I want a JTable where a new row is added every 5 seconds. I want to see
> on screen this adding.
> How can I do?

User a Timer/TimerTask or your own rolled Thread to add data to a collection
of some sort.
Wrap it in an AbstractTableModel, and fireTableChanged(indexOfRowAdded)
after the data is added.

--
Mike W


.



Relevant Pages

  • Re: Blessed Sacrament Golden Knights Alumni
    ... Now if they could just get some tiger stripe to wrap around the ... Mike ... Prev by Date: ...
    (rec.arts.marching.drumcorps)
  • PEAR DB
    ... Or should a person just wrap db functions in a user-defined class? ... Mike ... Prev by Date: ...
    (comp.lang.php)
  • Re: Resolution size of slideshow
    ... Maybe I could write my own app to wrap the viewer - thanks for the idea! ... Mike ... Prev by Date: ...
    (microsoft.public.powerpoint)
  • Re: Skiing in Aviemore, now!
    ... > Well at least I didn't have to go to tinyurl.com to stop line wrap for my ... Usenet breaking urls is something you unavoidably learn to cope with. ... Mike W ... Prev by Date: ...
    (rec.skiing.resorts.europe)
  • Re: Who are you?
    ... think my record is pretty outstanding. ... series 1 of American Dad, ... Mike ... Prev by Date: ...
    (uk.sport.football)