Jul 24

A message dialog box is a simple window that displays information.

A message dialog box can be created with a call to the showMessageDialog(Component, Object) method of JOptionPane class.

The following statement creates a message box:

JOptionPane.showMessageDialog(null, “I am happy.”);

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Technorati
  • Twitter

Related posts:

  1. Create Stored Procedure SQL Server

Leave a Reply