Jbutton ditetapkan pada aksi

jBtnSelection.addActionListener(new ActionListener() { 
  public void actionPerformed(ActionEvent e) { 
    //code here
  } 
} );
Confused Cassowary