Class SizeGrip

    • Field Detail

      • osxSizeGrip

        protected Image osxSizeGrip
        The size grip to use if we're on OS X.
    • Constructor Detail

      • SizeGrip

        public SizeGrip()
    • Method Detail

      • applyComponentOrientation

        public void applyComponentOrientation​(ComponentOrientation o)
        Overridden to ensure that the cursor for this component is appropriate for the orientation.
        Overrides:
        applyComponentOrientation in class Container
        Parameters:
        o - The new orientation.
      • createOSXSizeGrip

        protected Image createOSXSizeGrip()
        Creates and returns the OS X size grip image.
        Returns:
        The OS X size grip.
      • paintComponent

        protected void paintComponent​(Graphics g)
        Paints this panel.
        Overrides:
        paintComponent in class JComponent
        Parameters:
        g - The graphics context.
      • possiblyFixCursor

        protected void possiblyFixCursor​(boolean ltr)
        Ensures that the cursor for this component is appropriate for the orientation.
        Parameters:
        ltr - Whether the current component orientation is LTR.
      • updateUI

        public void updateUI()
        Overrides:
        updateUI in class JPanel