生成工具条 com.fr.design.mainframe.CenterRegionContainerPane#resetToolkitByPlus protected void resetToolkitByPlus(ToolBarMenuDockPlus plus, ToolBarMenuDock ad, ToolKitConfigStrategy strategy) { resetCombineUpTooBar(ad.resetUpToolBar(plus), plus); if (toolbarComponent != null) { toolbarPane.remove(toolbarComponent); } // 颜色,字体那些按钮的工具栏 toolbarPane.add(toolbarComponent = ad.resetToolBar(toolbarComponent, plus), BorderLayout.CENTER); JPanel customNorthPane = strategy.customNorthPane(toolbarPane,plus); if (!isExist(customNorthPane)){ this.removeNorth(); this.add(customNorthPane, BorderLayout.NORTH); } // 多模板 tab if (strategy.hasTemplateTabPane(plus)) { eastCenterPane.add(templateTabPane, BorderLayout.CENTER); } else { eastCenterPane.remove(templateTabPane); } if (strategy.hasCombineUp(plus)) { eastCenterPane.add(combineUp, BorderLayout.NORTH); } else { eastCenterPane.remove(combineUp); } resetByDesignMode(); } 创建工具栏 - Font 字体 创建工具栏组件