Skip to content

Commit 75ff3a7

Browse files
committed
Shortened the error dialog a little bit
1 parent 96bc27d commit 75ff3a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MainFrame.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void actionPerformed(ActionEvent e) {
8585
} catch (Exception exception) {
8686
JOptionPane.showMessageDialog(null,
8787
String.format(
88-
"Textfields/textboxes cannot be empty! They also cannot contain any letters, decimals, symbols, or a number larger than %s!",
88+
"Textfields/textboxes cannot be empty nor have any letters, decimals, symbols, or a number larger than %s!",
8989
Integer.MAX_VALUE),
9090
"CANNOT RESIZE", JOptionPane.ERROR_MESSAGE);
9191
}

0 commit comments

Comments
 (0)