Class Frame

    • Constructor Detail

      • Frame

        public Frame()
      • Frame

        public Frame​(java.lang.String title)
      • Frame

        public Frame​(java.lang.String title,
                     Component content)
    • Method Detail

      • getMenuBar

        public MenuBar getMenuBar()
      • setMenuBar

        public void setMenuBar​(MenuBar menuBar)
      • moveToFront

        public void moveToFront()
        Description copied from class: Window
        Moves the window to the top of the window stack. All owned windows are subsequently moved to the front, ensuring that this window's owned windows remain on top of it. If the window does not have any owned windows, focus is restored to it.
        Overrides:
        moveToFront in class Window
      • remove

        public Sequence<Component> remove​(int index,
                                          int count)
        Description copied from interface: Sequence
        Removes one or more items from the sequence.
        Specified by:
        remove in interface Sequence<Component>
        Overrides:
        remove in class Window
        Parameters:
        index - The starting index to remove.
        count - The number of items to remove, beginning with index.
        Returns:
        A sequence containing the items that were removed.