比如,很简单的例子:
public void actionPerformed(ActionEvent e){
if(e.getSource==促发计算的按钮){
int a=jtable.getValueAt(0,0).intValue()+jtable.getValueAt(1,0).intValue();
}
}
public void actionPerformed(ActionEvent e){
if(e.getSource==促发计算的按钮){
int a=jtable.getValueAt(0,0).intValue()+jtable.getValueAt(1,0).intValue();
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货