Package com.l2fprod.gui.plaf.skin

Examples of com.l2fprod.gui.plaf.skin.SkinTitlePane$ActionChangedListener


  public static JButton getWindowButton(JRootPane rootPane, String name) {
      JLayeredPane jlp = rootPane.getLayeredPane();
      for (int i=0;i<jlp.getComponentCount();i++) {
          Component comp = jlp.getComponent(i);
          if (comp instanceof SkinTitlePane) {
              SkinTitlePane  stp = (SkinTitlePane) comp;
              for (int j=0;j<stp.getComponentCount();j++) {
                  Component comp2 = stp.getComponent(j);
                  if (comp2 instanceof SkinWindowButton) {
                      SkinWindowButton swb = (SkinWindowButton) comp2;
                      if (name.equals(swb.getActionCommand()))
                          return swb;
                  }
View Full Code Here

TOP

Related Classes of com.l2fprod.gui.plaf.skin.SkinTitlePane$ActionChangedListener

Copyright © 2018 www.massapicom. 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.