向JTable里插入JComboBox 下面的语句可以实现
jtable.getColumnModel().getColumn(1).setCellEditor(new DefaultCellEditor(new JComboBox()));
但是我把JComboBox换为JButton就出现错误
我不知道怎么向JTable里插入JButton 帮帮忙 谢谢了
jtable.getColumnModel().getColumn(1).setCellEditor(new DefaultCellEditor(new JComboBox()));
但是我把JComboBox换为JButton就出现错误
我不知道怎么向JTable里插入JButton 帮帮忙 谢谢了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货