List of usage examples for javax.swing JButton setMultiClickThreshhold
public void setMultiClickThreshhold(long threshhold)
From source file:com.aw.swing.mvp.Presenter.java
private void addActionToJButton(JButton jButton, final com.aw.swing.mvp.action.Action action) { jButton.putClientProperty(BindingComponent.ATTR_ACTION, action.getId().asStringWithoutSeparator()); jButton.setMultiClickThreshhold(500); jButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { executeAction(action);//from ww w . j a v a 2s .c o m } }); }