mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-02 16:49:10 +00:00
[TASK] Added UILog with default value option
This commit is contained in:
@@ -39,4 +39,9 @@ public class UILog {
|
||||
return JOptionPane.showOptionDialog(null, message, title,
|
||||
JOptionPane.YES_NO_CANCEL_OPTION, messageType, null, options, null);
|
||||
}
|
||||
|
||||
public static int alert(final String title, final String message, Object[] options, int initialValue, int messageType) {
|
||||
return JOptionPane.showOptionDialog(null, message, title,
|
||||
JOptionPane.YES_NO_CANCEL_OPTION, messageType, null, options, initialValue);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user