fixed compilation warning

This commit is contained in:
Robert von Burg 2013-01-20 22:35:59 +01:00
parent 7814b844a1
commit b5b9465dbe
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public class PasswordCreaterUI {
JLabel hash = new JLabel("Hash:", SwingConstants.RIGHT);
String[] digests = new String[] { "MD2", "MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512" };
final JComboBox digestCombo = new JComboBox(digests);
final JComboBox<String> digestCombo = new JComboBox<String>(digests);
digestCombo.setSelectedIndex(3);
final JPasswordField passwordField = new JPasswordField();
final JTextField hashField = new JTextField(150);