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
8 years agoOccasional Contributor
Thanks Anand.. It worked for me :)
Related Content
Recent Discussions
- 3 days ago