Class SwingWidgetFactory


  • public class SwingWidgetFactory
    extends Object
    • Constructor Detail

      • SwingWidgetFactory

        public SwingWidgetFactory()
    • Method Detail

      • createSplitPane

        public static JSplitPane createSplitPane()
        Creates and returns a JSplitPane
      • createPanel

        public static JPanel createPanel()
        Creates and returns a JPanel
      • createNamedPanel

        public static JPanel createNamedPanel​(String title)
        Creates and returns a JPanel
      • setPanelTitle

        public static void setPanelTitle​(JPanel panel,
                                         String title)
      • createToolBar

        public static JToolBar createToolBar()
        Creates and returns a JToolBar
      • createMenuBar

        public static JMenuBar createMenuBar()
        Creates and returns a JMenuBar
      • createMenu

        public static JMenu createMenu​(String text,
                                       char mnemonic)