Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow do I get JOptionPane.showMessageDialog to appear in eclipse
https://www.eclipse.org/forums/index.php/mv/msg/832515/1446753/#msg_1446753
beginner here. would like help in understanding how to get a dialog box to appear in eclipse when running the following code.
very simple code from a java study book:
-------
import javax.swing.JOptionPane; // import class JOptionPane
public class Dialog1
{
private static void main( String[] args)
{
// display a dialog with a message
JOptionPane.showMessageDialog(null, "Welcome\nto\nJava");
} //end main
} // end class Dialog1
-------
thanks,
M]]>eastcoastlifeoutlook.com Maccaf2014-10-17T08:57:26-00:00Re: How do I get JOptionPane.showMessageDialog to appear in eclipse
https://www.eclipse.org/forums/index.php/mv/msg/832515/1446925/#msg_1446925
eastcoastlifeoutlook.com Maccaf2014-10-17T14:14:56-00:00