Saturday, July 30, 2011

Dialog Box in JAVA

import javax.swing.JOptionPane;

class dialogbox{

    public static void main(String args[])
    {
        JOptionPane.showMessageDialog(null,"Helloo","THE Title",0);
        JOptionPane.showConfirmDialog(null,"Is it Okkk??","Confirm");
       
    }

}