Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Commit

Permalink
improved popup behavior + added warning for replacing originals
Browse files Browse the repository at this point in the history
-Closes #21 , modified execution error popups by giving users options on how to proceed. ignore, ignore all errors, or cancel execution.
-Closes #16 , added an additional popup warning the user about replacing files.
-Effectively closes #19 by giving the user the option to see every specific error via #21
-Fixed spelling error...
  • Loading branch information
MerryPlace committed Aug 24, 2020
1 parent d640a26 commit d52994b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProgramUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public void cancelPopup(int converted) {
public void warningReplacingFiles(){
int choice = JOptionPane.showOptionDialog(this,
"By continuing you will be replacing your original screenshots. This cannot be undone.\n"
+ "Please press Cancel and change the behaivor settings if this was not intended.",
+ "Please press Cancel and change the behavior settings if this was not intended.",
"Replacing Files",JOptionPane.OK_CANCEL_OPTION,JOptionPane.WARNING_MESSAGE,
null,null,null);
if(choice != 0) {
Expand Down

0 comments on commit d52994b

Please sign in to comment.