The message is cut off on dialog box. Would someone tell me how to solve it. Thanks in advance.
there is my code:
public static void DisplayErrorMsg(String msg){
//custom title, error icon
JOptionPane.showMessageDialog(null,
msg,
"Error",
JOptionPane.ERROR_MESSAGE);
}