Thursday, October 9, 2008

Java - JOptionPane

import javax.swing.JOptionPane;

public class jop
{
public static void main( String args[] )
{
String output = "Hi There \n\n";

JOptionPane.showMessageDialog( null, output,
"JOptionPane Test",
JOptionPane.INFORMATION_MESSAGE );

System.exit( 0 );
}
}

No comments:

Post a Comment