Examples of JDesktopIcon


Examples of javax.swing.JInternalFrame.JDesktopIcon

    JInternalFrame hostFrame = (JInternalFrame) SwingUtilities
        .getAncestorOfClass(JInternalFrame.class, this);
    JComponent hostForColorization = hostFrame;
    if (hostFrame == null) {
      // try desktop icon
      JDesktopIcon desktopIcon = (JDesktopIcon) SwingUtilities
          .getAncestorOfClass(JDesktopIcon.class, this);
      if (desktopIcon != null)
        hostFrame = desktopIcon.getInternalFrame();
      hostForColorization = desktopIcon;
    }
    // if ((hostFrame != null) && SubstanceCoreUtilities.hasColorization(
    // this)) {
    Color backgr = hostFrame.getBackground();
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.