Wednesday, 15 July 2009

About JoptionPane


import javax.swing.JOptionPane;

Main()………
String s = JOptionPane.showInputDialog ("Enter any number");
Converting x in integer
int p=Integer.parseInt(x);

No comments:

Post a Comment