JTable not rendering JCheckBox or JComboBox in the table in Java Applet
问题 Im having trouble getting my JTable that im using to display either check boxes or combo boxes in my applet. Here is the code that is not working correctly String[] options = {"download", "ignore"}; Object[] obj = {new JComboBox(options), ((MetadataList)array.get(1)).getMetadata("Filename").getValue()}; defaultTableModel2.addRow(obj); The defaultTableModel2 is simply a DefaultTableModel defaultTabelModel2 = new DefaultTableModel() so nothing too dramatic there. The code above is using a