Examples of AwtVisitor


Examples of com.intellij.util.ui.AwtVisitor

  protected void dispose() {
    synchronized (ourLock) {
      final JRootPane rootPane = getRootPane();
      // if rootPane = null, dialog has already been disposed
      if (rootPane != null) {
        new AwtVisitor(rootPane) {
          public boolean visit(final Component component) {
            if (component instanceof JComponent) {
              final JComponent eachComp = (JComponent)component;
              final KeyStroke[] strokes = eachComp.getRegisteredKeyStrokes();
              for (KeyStroke eachStroke : strokes) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.