Java Code Examples for java.awt.event.ActionEvent#setSource()

The following examples show how to use java.awt.event.ActionEvent#setSource() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: netbeans   File:    License: Apache License 2.0 5 votes vote down vote up
public void actionPerformed(ActionEvent e) {
    if (TreeTable.this.getSelectedColumn() == getTreeColumnIndex()) {
        //Issue 40075, on JDK 1.5, BasicTreeUI remarkably expects
        //that action events performed on trees actually come from
    } else {
Example 2
public void loggedActionPerformed(ActionEvent e) {
	if (eventSource != null) {