I have a JFrame Form which has JTextFields, JCombobox etc. and I am able to receive those values to variables and now I want to add the re
JFrame
JTextField
JCombobox
String[] tblHead={"Item Name","Price","Qty","Discount"}; DefaultTableModel dtm=new DefaultTableModel(tblHead,0); JTable tbl=new JTable(dtm); String[] item={"A","B","C","D"}; dtm.addRow(item);
Here;this is the solution.