SimpleAbstractAction
private class SimpleAbstractAction(val myActionPerformed: (ActionEvent?) -> Unit) : AbstractAction(source)
An AbstractAction that uses myActionPerformed as the implementation of its actionPerformed method.
Parameters
myActionPerformed
the code to execute in actionPerformed