X-Git-Url: https://git.pterodactylus.net/?p=jkeytool.git;a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjkeytool%2Fgui%2Fswing%2FKeyStorePanel.java;h=b4f766dda39a43cd1e1064d53f087b4b813b3304;hp=3c064d60cd96bf0cb1dae7f886e85be2872a1a5c;hb=30e4d874675c092b7afad941351a58f32d3e355f;hpb=15fb8dd1c8e2aa66ffbd744587828670456e6a37 diff --git a/src/net/pterodactylus/jkeytool/gui/swing/KeyStorePanel.java b/src/net/pterodactylus/jkeytool/gui/swing/KeyStorePanel.java index 3c064d6..b4f766d 100644 --- a/src/net/pterodactylus/jkeytool/gui/swing/KeyStorePanel.java +++ b/src/net/pterodactylus/jkeytool/gui/swing/KeyStorePanel.java @@ -28,8 +28,6 @@ import javax.swing.Action; import javax.swing.JPanel; import javax.swing.JToolBar; -import net.pterodactylus.util.swing.StatusBar; - /** * TODO * @@ -43,9 +41,6 @@ public class KeyStorePanel extends JPanel { /** The tool bar. */ private final JToolBar toolBar = new JToolBar(); - /** The status bar. */ - private final StatusBar statusBar = new StatusBar(); - /** The action to create a new key. */ private Action createKeyAction; @@ -61,21 +56,26 @@ public class KeyStorePanel extends JPanel { this.keyStore = keyStore; constructActions(); constructPanel(); - statusBar.setText(keyStore.getType() + " Key Store"); } // // PRIVATE ACTIONS // + /** + * Executed by {@link #createKeyAction}. + */ private void createKey() { - + /* TODO */ } // // PRIVATE METHODS // + /** + * Constructs all used actions. + */ private void constructActions() { createKeyAction = new AbstractAction("Create Key") { @@ -89,11 +89,13 @@ public class KeyStorePanel extends JPanel { }; } + /** + * Constructs the main panel. + */ private void constructPanel() { toolBar.add(createKeyAction); add(toolBar, BorderLayout.PAGE_START); - add(statusBar, BorderLayout.PAGE_END); } }