Vote count:
0
shouldn't the new Boolean appear as a checkbox ?? it's not working
Object[] columnNames4 = {"Name", "City", "Checkbox"};
Object[][] data = {
{"john smith",
"x", new Boolean(false)},
{"jenny m",
"y", new Boolean(false)}
};
JTable table4 = new JTable(data, columnNames4);
JScrollPane S3 = new JScrollPane(table4);
S3.setPreferredSize(new Dimension(300, 300));
asked 43 secs ago
Checkbox in JTable not showing?
Aucun commentaire:
Enregistrer un commentaire