请问如何在JTable中插入按钮,下拉框?
现在的方法,如:JTable tableView = new JTable(dataModel);tableView.getColumnModel().getColumn(2).setCellEditor(new DefaultCellEditor(comboBox));只能在一列中插入相同的控件。请问,如何在一列中插入不同的控件,如在第一列第一行插入一个
combobox,第一列第二行插入一个button?