mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
[BUGFIX] Added the retuns
This commit is contained in:
@@ -20,14 +20,14 @@ public class UILog {
|
||||
}
|
||||
|
||||
public static int alert(final String title, final String message) {
|
||||
alert(title, message, JOptionPane.YES_NO_OPTION);
|
||||
return alert(title, message, JOptionPane.YES_NO_OPTION);
|
||||
}
|
||||
|
||||
public static int alert(final String title, final String message, int option) {
|
||||
alert(title, message, option, JOptionPane.DEFAULT_OPTION);
|
||||
return alert(title, message, option, JOptionPane.DEFAULT_OPTION);
|
||||
}
|
||||
|
||||
public static int alert(final String title, final String message, int optionType, int messageType) {
|
||||
JOptionPane.showConfirmDialog(null, message, title, optionType, messageType);
|
||||
return JOptionPane.showConfirmDialog(null, message, title, optionType, messageType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user