Forum Discussion
AnandKiran
Frequent 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
Nilesh
9 years agoOccasional Contributor
Thanks Anand.. It worked for me :)
Related Content
- 10 months ago
Recent Discussions
- 15 years ago