Forum Discussion
AnandKiran
15 years agoFrequent Contributor
I found the solution use Java Swing ( import javax.swing.*;) in your script to enable this functionality
Then use the below code to get an input box.
String name=JOptionPane.showInputDialog("Enter your name pls.");
Hope this answers your issue.
Regards
Anand
Then use the below code to get an input box.
String name=JOptionPane.showInputDialog("Enter your name pls.");
Hope this answers your issue.
Regards
Anand
- Nilesh9 years agoOccasional Contributor
Thanks Anand.. It worked for me :)
Related Content
Recent Discussions
- 15 years ago