This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
You have two table= statements, take out the second one and put its arguments in the new model call.
The nice thing about Standards is that there are so many to choose from!
Joined: May 13, 2005
thanks >>> Eddie Vanda ,,, I make some correction for the code and its run ok but the new record have empty!!! can you help me PLZ... ********************* import java.io.*; import java.awt.*; import java.awt.BorderLayout; import java.awt.event.*; import java.awt.GridLayout; import java.lang.*; import javax.swing.*; import java.util.*; import javax.swing.table.*; import javax.swing.table.DefaultTableModel; import javax.swing.ListSelectionModel; import java.awt.event.ActionListener; import javax.swing.event.TableModelListener; import javax.swing.BorderFactory; import javax.swing.table.TableModel;