Why Null passed in first argument for the messageDialog in java ?
Null passed in first argument: JOptionPane showMessageDialog
method signatures:
showMessageDialog(Component parentComponent, Object message)
or
showMessageDialog(Component parentComponent, Object message, String title, int messageType)
or
showMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon)
first parameter is...