()
| 173 | } |
| 174 | |
| 175 | private void initComponents() |
| 176 | { |
| 177 | setLayout(new BorderLayout()); |
| 178 | |
| 179 | JComponent root = getRootPane(); |
| 180 | root.setActionMap(actionMap); |
| 181 | root.setInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, createInputMap(actionMap)); |
| 182 | |
| 183 | characterTabs.add(new InfoGuidePane(this, uiContext)); |
| 184 | |
| 185 | setJMenuBar(pcGenMenuBar); |
| 186 | PCGenToolBar pcGenToolBar = new PCGenToolBar(this); |
| 187 | ToolBar toolBar = pcGenToolBar.buildMenu(); |
| 188 | JFXPanel wrappedToolBar = GuiUtility.wrapParentAsJFXPanel(toolBar); |
| 189 | |
| 190 | add(wrappedToolBar, BorderLayout.NORTH); |
| 191 | add(characterTabs, BorderLayout.CENTER); |
| 192 | add(statusBar, BorderLayout.SOUTH); |
| 193 | updateTitle(); |
| 194 | setIconImage(Icons.PCGenApp.getImageIcon().getImage()); |
| 195 | } |
| 196 | |
| 197 | private void initSettings() |
| 198 | { |
no test coverage detected