[nbj2ee] jTable: won't render after setValueAt ()

  • From: "Elektrichker" < >
  • To:
  • Subject: [nbj2ee] jTable: won't render after setValueAt ()
  • Date: Tue, 27 Nov 2012 16:35:16 -0500

Hello all.
I have a program designed with NetBeans GUI designer. It contains a jTable 
component, which uses a DefaultTableModel table model.

I try to set by program a new value to the table using function 
setValueAt(...). Such code is situated in some event handler:

jTable1.setValueAt(99, 0, 0);
tmp=(int)(jTable1.getValueAt(0, 0));

In debug mode, tmp variable contains an integer value 99. But table renders 
nothing. What kind of problem it can be?
I try to set by program a new value to the table by

[nbj2ee] jTable: won't render after setValueAt ()

Elektrichker 11/27/2012

[nbj2ee] Re: jTable: won't render after setValueAt ()

John Yeary 11/28/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 25 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm