[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:


Code:
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 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close