搜索:getActionCommand

找到约 2 项符合「getActionCommand」的查询结果

结果 2
https://www.eeworm.com/dl/633/264434.html Java编程

if(e.getActionCommand()=="参数法画圆"){ p=11 } } //actionPerformed //实现接口Window

if(e.getActionCommand()=="参数法画圆"){ p=11 } } //actionPerformed //实现接口WindowListener的所有方法,用于处理发生在窗口上的事件 public void windowClosing(WindowEvent e)
下载 48
·
查看 1051
https://www.eeworm.com/dl/668/180875.html 其他行业

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( ...
下载 130
·
查看 1371