+ /**
+ * Creates the menu bar of the frame.
+ *
+ * @return The menu bar of the frame
+ */
+ private JMenuBar createMenubar() {
+ JMenuBar menubar = new JMenuBar();
+
+ JMenu fileMenu = new I18nMenu(i18n, "jkeytool.menu.file");
+ menubar.add(fileMenu);
+ fileMenu.add(createKeyStoreAction);
+ fileMenu.addSeparator();
+ fileMenu.add(quitAction);
+
+ return menubar;
+ }
+
+ /**
+ * Creates the tool bar of the frame.
+ *
+ * @return The tool bar of the frame
+ */
+ private JToolBar createToolbar() {
+ JToolBar toolbar = new JToolBar();
+
+ toolbar.add(createKeyStoreAction);
+ toolbar.add(quitAction);
+
+ return toolbar;
+ }
+