Merge doActionEvent() and ActionEvent()