Module java.desktop

Class MetalInternalFrameUI


  • public class MetalInternalFrameUI
    extends BasicInternalFrameUI
    Metal implementation of JInternalFrame.
    • Field Detail

      • IS_PALETTE

        protected static String IS_PALETTE
        The property JInternalFrame.isPalette.
    • Constructor Detail

      • MetalInternalFrameUI

        public MetalInternalFrameUI​(JInternalFrame b)
        Constructs a new MetalInternalFrameUI instance.
        Parameters:
        b - an internal frame
    • Method Detail

      • createUI

        public static ComponentUI createUI​(JComponent c)
        Constructs a new MetalInternalFrameUI instance.
        Parameters:
        c - a component
        Returns:
        a new MetalInternalFrameUI instance
      • setPalette

        public void setPalette​(boolean isPalette)
        If isPalette is true, sets palette border and title
        Parameters:
        isPalette - if true, sets palette border and title