diff --git a/src/main/java/com/tomczarniecki/s3/gui/Display.java b/src/main/java/com/tomczarniecki/s3/gui/Display.java index edb748f..b062b0e 100755 --- a/src/main/java/com/tomczarniecki/s3/gui/Display.java +++ b/src/main/java/com/tomczarniecki/s3/gui/Display.java @@ -38,12 +38,10 @@ import static javax.swing.JOptionPane.ERROR_MESSAGE; import static javax.swing.JOptionPane.INFORMATION_MESSAGE; -import static javax.swing.JOptionPane.QUESTION_MESSAGE; import static javax.swing.JOptionPane.WARNING_MESSAGE; import static javax.swing.JOptionPane.YES_NO_OPTION; import static javax.swing.JOptionPane.YES_OPTION; import static javax.swing.JOptionPane.showConfirmDialog; -import static javax.swing.JOptionPane.showInputDialog; import static javax.swing.JOptionPane.showMessageDialog; class Display { @@ -103,10 +101,6 @@ public boolean confirmMessage(String title, String message) { return result == YES_OPTION; } - public String selectOption(String title, String message, List options) { - return (String) showInputDialog(frame, message, title, QUESTION_MESSAGE, null, options.toArray(), null); - } - public File selectDirectory(String title, String buttonText) { JFileChooser chooser = new JFileChooser();