Friday, February 15, 2013

Input and Outbox in Eclipse (Selenium WebDriver)

Program to Retrieve Data From the User using Input Box and Output the same using Output Box

//Following Code written in Eclipse -Helios

import

javax.swing.JOptionPane;
public
class Input_box
{
public static void main(String[] args)
{
String a=JOptionPane.showInputDialog(
null,"What is your name ?");
JOptionPane.showMessageDialog(
null, a);
}
}

No comments:

Post a Comment