Java Code Examples for com.sun.java.swing.action.ActionManager#getInstance()

The following examples show how to use com.sun.java.swing.action.ActionManager#getInstance() . 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 File: HSDBActionManager.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public static ActionManager getInstance() {
    ActionManager m = ActionManager.getInstance();
    if (m == null) {
        m = new HSDBActionManager();
        ActionManager.setInstance(m);
    }
    return m;
}
 
Example 2
Source File: HSDBActionManager.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public static ActionManager getInstance() {
    ActionManager m = ActionManager.getInstance();
    if (m == null) {
        m = new HSDBActionManager();
        ActionManager.setInstance(m);
    }
    return m;
}
 
Example 3
Source File: HSDBActionManager.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public static ActionManager getInstance() {
    ActionManager m = ActionManager.getInstance();
    if (m == null) {
        m = new HSDBActionManager();
        ActionManager.setInstance(m);
    }
    return m;
}
 
Example 4
Source File: HSDBActionManager.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public static ActionManager getInstance() {
    ActionManager m = ActionManager.getInstance();
    if (m == null) {
        m = new HSDBActionManager();
        ActionManager.setInstance(m);
    }
    return m;
}
 
Example 5
Source File: HSDBActionManager.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public static ActionManager getInstance() {
    ActionManager m = ActionManager.getInstance();
    if (m == null) {
        m = new HSDBActionManager();
        ActionManager.setInstance(m);
    }
    return m;
}
 
Example 6
Source File: HSDBActionManager.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public static ActionManager getInstance() {
    ActionManager m = ActionManager.getInstance();
    if (m == null) {
        m = new HSDBActionManager();
        ActionManager.setInstance(m);
    }
    return m;
}
 
Example 7
Source File: ClassBrowserPanel.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
   ActionManager manager = ActionManager.getInstance();
   DelegateAction action = manager.getDelegateAction(actionName);
   action.addActionListener(this);
}
 
Example 8
Source File: ClassBrowserPanel.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
   ActionManager manager = ActionManager.getInstance();
   DelegateAction action = manager.getDelegateAction(actionName);
   action.addActionListener(this);
}
 
Example 9
Source File: ObjectHistogramPanel.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
    ActionManager manager = ActionManager.getInstance();
    DelegateAction action = manager.getDelegateAction(actionName);
    action.addActionListener(this);
}
 
Example 10
Source File: ClassBrowserPanel.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
   ActionManager manager = ActionManager.getInstance();
   DelegateAction action = manager.getDelegateAction(actionName);
   action.addActionListener(this);
}
 
Example 11
Source File: ObjectHistogramPanel.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
    ActionManager manager = ActionManager.getInstance();
    DelegateAction action = manager.getDelegateAction(actionName);
    action.addActionListener(this);
}
 
Example 12
Source File: ClassBrowserPanel.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
   ActionManager manager = ActionManager.getInstance();
   DelegateAction action = manager.getDelegateAction(actionName);
   action.addActionListener(this);
}
 
Example 13
Source File: ObjectHistogramPanel.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
    ActionManager manager = ActionManager.getInstance();
    DelegateAction action = manager.getDelegateAction(actionName);
    action.addActionListener(this);
}
 
Example 14
Source File: ObjectHistogramPanel.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
    ActionManager manager = ActionManager.getInstance();
    DelegateAction action = manager.getDelegateAction(actionName);
    action.addActionListener(this);
}
 
Example 15
Source File: ClassBrowserPanel.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
   ActionManager manager = ActionManager.getInstance();
   DelegateAction action = manager.getDelegateAction(actionName);
   action.addActionListener(this);
}
 
Example 16
Source File: ClassBrowserPanel.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
   ActionManager manager = ActionManager.getInstance();
   DelegateAction action = manager.getDelegateAction(actionName);
   action.addActionListener(this);
}
 
Example 17
Source File: ObjectHistogramPanel.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
    ActionManager manager = ActionManager.getInstance();
    DelegateAction action = manager.getDelegateAction(actionName);
    action.addActionListener(this);
}
 
Example 18
Source File: ClassBrowserPanel.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
   ActionManager manager = ActionManager.getInstance();
   DelegateAction action = manager.getDelegateAction(actionName);
   action.addActionListener(this);
}
 
Example 19
Source File: ObjectHistogramPanel.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
    ActionManager manager = ActionManager.getInstance();
    DelegateAction action = manager.getDelegateAction(actionName);
    action.addActionListener(this);
}
 
Example 20
Source File: ClassBrowserPanel.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
private void registerAction(String actionName) {
   ActionManager manager = ActionManager.getInstance();
   DelegateAction action = manager.getDelegateAction(actionName);
   action.addActionListener(this);
}