搜索结果
找到约 2 项符合
actionPerformed 的查询结果
按分类筛选
其他行业 class NumberListener implements ActionListener{ public void actionPerformed(ActionEvent e){ if (
class NumberListener implements ActionListener{
public void actionPerformed(ActionEvent e){
if (!append) {
tf.setText("")
append=true
}
String s=tf.getText()
s+=e.getActionCommand()
tf.setText(s)
if (!btn[10].isEnabled()){
for(int i=10 i<=14 i++) btn[i].setEnabled(true)
}
} ...
Java编程 if(e.getActionCommand()=="参数法画圆"){ p=11 } } //actionPerformed //实现接口Window
if(e.getActionCommand()=="参数法画圆"){
p=11
}
} //actionPerformed
//实现接口WindowListener的所有方法,用于处理发生在窗口上的事件
public void windowClosing(WindowEvent e)