Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4375

Re: JTable setValueAt not

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "tar" <tar@THRWHITE.remove-dii-this>
Subject Re: JTable setValueAt not
Message-ID <ymi8wsof3ej.fsf@blackcat.isi.edu> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <6b6ec7e2-f7e4-4425-8b7d-aaa6ee797f9c@79g2000hsk.googlegroups.com>
References <6b6ec7e2-f7e4-4425-8b7d-aaa6ee797f9c@79g2000hsk.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 21
Date Wed, 27 Apr 2011 15:50:13 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303919413 96.60.20.240 (Wed, 27 Apr 2011 10:50:13 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:50:13 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4375

Show key headers only | View raw


  To: comp.lang.java.gui

scoobydoo116@hotmail.com writes:

> I am new at Java programming and had run into an issue using JTables.
> I created a JTable using the NetBeans IDE and am trying to set values
> into the table cells using setValueAt but I don't see the new values.


Remember that you have to do all of the GUI-related actions on the Event
Dispatch Thread (EDT).  I didn't see any references to that in your
code.  That will certainly disrupt any GUI items, often with rather
bizarre and unpredictable effects.

-- 
Thomas A. Russ,  USC/Information Sciences Institute

---
 * 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 | NextPrevious in thread | Next in thread | Find similar


Thread

JTable setValueAt not dis "scoobydoo116" <scoobydoo116@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
  Re: JTable setValueAt not "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
    Re: JTable setValueAt not "scoobydoo116" <scoobydoo116@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000

csiph-web