Skip to content

Commit

Permalink
removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcz committed May 30, 2021
1 parent fc8601e commit b2cb044
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main/java/com/tomczarniecki/s3/gui/Display.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -103,10 +101,6 @@ public boolean confirmMessage(String title, String message) {
return result == YES_OPTION;
}

public String selectOption(String title, String message, List<String> options) {
return (String) showInputDialog(frame, message, title, QUESTION_MESSAGE, null, options.toArray(), null);
}

public File selectDirectory(String title, String buttonText) {
JFileChooser chooser = new JFileChooser();

Expand Down

0 comments on commit b2cb044

Please sign in to comment.