📜  jbutton 设置动作 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:07.139000             🧑  作者: Mango

代码示例1
jBtnSelection.addActionListener(new ActionListener() { 
  public void actionPerformed(ActionEvent e) { 
    //code here
  } 
} );