Hello everyone!
Just as the title suggests, i would like to know if it's possible to set the position of a dialog box.
The default behaviour, is to appear in the center of the screen
I use it this way :
public static int confirmationBox(String infoMessage, String location)
{
int response = JOptionPane.showConfirmDialog(null, infoMessage, "Confirmation : " + location, JOptionPane.INFORMATION_MESSAGE);
return response;
}
Thanks in advance!