Class WindowListBoxDialog<T extends JInternalFrame>

    • Constructor Detail

      • WindowListBoxDialog

        public WindowListBoxDialog​(Window pOwner,
                                   ListModel pModel)
        Parameters:
        pOwner - Modal parent of dialog.
    • Method Detail

      • getList

        public JList getList()
        List of windows.
      • getOkAction

        public SwingAction getOkAction()
        Set selection to highlighted value and hide dialog.
      • display

        public Collection<T> display()
        Let user pick a window. Return value is an immutable collection backed by dialog.
        Returns:
        Collection of frames or null if dialog is dialog is closed or 'Cancel' invoked.
      • getFrameTitle

        protected String getFrameTitle​(T pFrame)