No image is required for messages like that. The syntax I usually use is

JOptionPane.showMessageDialog(null, String, Title String, JOptionPane.INFORMATION_MESSAGE)