How do you create a message box in Java? Like in VB where I can type in MessageBox.Show("This is a message")
How can I create the same type of dialog box in Java?
Printable View
How do you create a message box in Java? Like in VB where I can type in MessageBox.Show("This is a message")
How can I create the same type of dialog box in Java?
JOptionPane.showMessageDialog()
Do I have to create a new JOptionPane object and instantiate that, or do I have to draw this object in netbeans?
It's a static method. Look it up in the API reference.