All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

class SizeGrip extends JPanel
A component that allows its parent window to be resizable, similar to the size grip seen on status bars.
Version:
1.0
  • Constructor Details

    • SizeGrip

      SizeGrip()
  • Method Details

    • 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.
    • 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.