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


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

Re: JTable setValueAt not

From "tar" <tar@THRWHITE.remove-dii-this>
Subject Re: JTable setValueAt not
Message-ID <ymi8wsof3ej.fsf@blackcat.isi.edu> (permalink)
Newsgroups comp.lang.java.gui
References <6b6ec7e2-f7e4-4425-8b7d-aaa6ee797f9c@79g2000hsk.googlegroups.com>
Date 2011-04-27 15:50 +0000
Organization TDS.net

Show all headers | 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