how can i add JButton to last two column cells of row?
问题 i want to add JButton to last two column cells of row..How can do that....pls help me... String[] columnNames= {"EmployeeId","Name", "Designation", "JoiningDate", "DOB","ContactNo","MailId","Password","Edit","Remove"}; final DefaultTableModel model1 = new DefaultTableModel(rows, columnNames); model1.addColumn("columnNames, data"); table3= new JTable(model1); table3.getColumn("Edit").setCellEditor(new ButtonEditor(new JCheckBox())); table3.getColumn("Remove").setCellEditor(new ButtonEditor(new