import javax.swing.JMenuBar;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
+import javax.swing.JToolBar;
import net.pterodactylus.jkeytool.core.Core;
import net.pterodactylus.jkeytool.gui.Interface;
private void createFrame() {
mainFrame.setJMenuBar(createMenubar());
+ mainFrame.getContentPane().add(createToolbar(), BorderLayout.PAGE_START);
mainFrame.getContentPane().add(createCenterPanel(), BorderLayout.CENTER);
mainFrame.getContentPane().add(statusBar, BorderLayout.PAGE_END);
mainFrame.pack();
return menubar;
}
+ private JToolBar createToolbar() {
+ JToolBar toolbar = new JToolBar();
+
+ toolbar.add(createKeyStoreAction);
+ toolbar.add(quitAction);
+
+ return toolbar;
+ }
+
//
// INTERFACE Interface
//