Class Components

    • Constructor Detail

      • Components

        public Components()
    • Method Detail

      • getContainingWindow

        public static Window getContainingWindow(Component component)
        Get the containing Window of the given component.
        Parameters:
        component - the component to find the frame for
        Returns:
        the containing dialog
      • getContainingFrame

        public static JFrame getContainingFrame(Component component)
        Get the containing JFrame of the given component.
        Parameters:
        component - the component to find the frame for
        Returns:
        the containing frame
      • getContainingDialog

        public static JDialog getContainingDialog(Component component)
        Get the containing JDialog of the given component.
        Parameters:
        component - the component to find the frame for
        Returns:
        the containing dialog