From b2cb04448a17edf1e7e468e5f4ca5630e49008ea Mon Sep 17 00:00:00 2001 From: Tom Czarniecki Date: Sun, 30 May 2021 14:22:11 +1000 Subject: [PATCH] removed unused function --- src/main/java/com/tomczarniecki/s3/gui/Display.java | 6 ------ 1 file changed, 6 deletions(-) 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();