Class ResizableFrame

All Implemented Interfaces:
ResizableSupport, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ResizableFrame extends JFrame implements ResizableSupport
A resizable undecorated frame.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • initComponents

      protected void initComponents()
      Initializes the resizable window.
    • beginResizing

      protected void beginResizing()
    • resizing

      protected void resizing()
    • endResizing

      protected void endResizing()
    • setBorder

      public void setBorder(Border border)
      Sets the border of the resizable window. Do not pass in an empty border. Otherwise the window won't be resizable.
      Specified by:
      setBorder in interface ResizableSupport
      Parameters:
      border - the border.
    • getBorder

      public Border getBorder()
      Gets the border of the resizable window. By default, UIManagerLookup.getBorder("Resizable.resizeBorder") will be used.
      Specified by:
      getBorder in interface ResizableSupport
      Returns:
      the border.
    • getResizable

      public Resizable getResizable()
      Gets the underlying Resizable.
      Specified by:
      getResizable in interface ResizableSupport
      Returns:
      the Resizable.
    • getRoutingComponent

      public Component getRoutingComponent()
    • setRoutingKeyStrokes

      public void setRoutingKeyStrokes(boolean routingKeyStrokes)
    • isRoutingKeyStrokes

      public boolean isRoutingKeyStrokes()