BUTTON.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
System.out.println("PRINT");
}});
when i click on a button i am getting a bunch of clicks essentially....with one click on the button it will output PRINT multiple times....Is there anyway to either prevent the multiple clicks or ignore all but the first one....
thanks
public void actionPerformed(ActionEvent e){
System.out.println("PRINT");
}});
when i click on a button i am getting a bunch of clicks essentially....with one click on the button it will output PRINT multiple times....Is there anyway to either prevent the multiple clicks or ignore all but the first one....
thanks