projects
/
jkeytool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove tool bar.
[jkeytool.git]
/
src
/
net
/
pterodactylus
/
jkeytool
/
gui
/
swing
/
KeyStorePanel.java
diff --git
a/src/net/pterodactylus/jkeytool/gui/swing/KeyStorePanel.java
b/src/net/pterodactylus/jkeytool/gui/swing/KeyStorePanel.java
index
b4f766d
..
48ea691
100644
(file)
--- a/
src/net/pterodactylus/jkeytool/gui/swing/KeyStorePanel.java
+++ b/
src/net/pterodactylus/jkeytool/gui/swing/KeyStorePanel.java
@@
-20,13
+20,9
@@
package net.pterodactylus.jkeytool.gui.swing;
import java.awt.BorderLayout;
package net.pterodactylus.jkeytool.gui.swing;
import java.awt.BorderLayout;
-import java.awt.event.ActionEvent;
import java.security.KeyStore;
import java.security.KeyStore;
-import javax.swing.AbstractAction;
-import javax.swing.Action;
import javax.swing.JPanel;
import javax.swing.JPanel;
-import javax.swing.JToolBar;
/**
* TODO
/**
* TODO
@@
-38,12
+34,6
@@
public class KeyStorePanel extends JPanel {
/** The displayed key store. */
private final KeyStore keyStore;
/** The displayed key store. */
private final KeyStore keyStore;
- /** The tool bar. */
- private final JToolBar toolBar = new JToolBar();
-
- /** The action to create a new key. */
- private Action createKeyAction;
-
/**
* Creates a new key store panel that displays and controls the given key
* store.
/**
* Creates a new key store panel that displays and controls the given key
* store.
@@
-77,25
+67,12
@@
public class KeyStorePanel extends JPanel {
* Constructs all used actions.
*/
private void constructActions() {
* Constructs all used actions.
*/
private void constructActions() {
- createKeyAction = new AbstractAction("Create Key") {
-
- /**
- * {@inheritDoc}
- */
- @SuppressWarnings("synthetic-access")
- public void actionPerformed(ActionEvent actionEvent) {
- createKey();
- }
- };
}
/**
* Constructs the main panel.
*/
private void constructPanel() {
}
/**
* Constructs the main panel.
*/
private void constructPanel() {
- toolBar.add(createKeyAction);
-
- add(toolBar, BorderLayout.PAGE_START);
}
}
}
}