Jtable help

im developing a java desktop app with java swing, in the function of purchasing order...i need help, i dont know how to add rows dinamically in jtable while im adding data in a previous row, i dont know how and where to program this.:( please, help im a Jnewbie.
[276 byte] By [negreraa] at [2007-11-26 13:42:17]
# 1
Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/table.html]How to Use Table[/url] for the basics.Here is a simple example: http://forum.java.sun.com/thread.jspa?forumID=57&threadID=577919
camickra at 2007-7-7 23:59:54 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thanks for the help, it worked... but I have one more question: When I create new rows I want to make one of the columns no editable, i've been trying but still can't do it... Do you know how to solve this? Please help.
Artemisaa at 2007-7-7 23:59:54 > top of Java-index,Desktop,Core GUI APIs...
# 3
> I want to make one of the columns no editableOverride the isCellEditable(...) method of JTable or the TableModel you are using.
camickra at 2007-7-7 23:59:54 > top of Java-index,Desktop,Core GUI APIs...
# 4
thx a lot for the help...it worked! :)
Artemisaa at 2007-7-7 23:59:54 > top of Java-index,Desktop,Core GUI APIs...