java jpanel popup message

JOptionPane.showMessageDialog(null, "My Goodness, this is so concise");
Yawning Yacare