Added an JMessageDialog