JTable question

i need to setup a JTable so that when the program opens, there is a blank JTable with column names and a header, then when users add information that is entered into an array, i need the table to change and include the new data, adding a new row with the information entered

the information entered by the user is not entered in the table;

any help would be great

[382 byte] By [speedsticra] at [2007-9-30 2:24:58]
# 1
xpost http://forum.java.sun.com/thread.jsp?forum=31&thread=499897&tstart=0&trange=15
rykk.a at 2007-7-16 13:34:40 > top of Java-index,Archived Forums,Swing...
# 2
Use the DefaultTableModel. The addRow() or insertRow() methods should help you.
camickra at 2007-7-16 13:34:40 > top of Java-index,Archived Forums,Swing...