Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.*;
- public class jop {
- public static void main(String[] args) {
- String line = JOptionPane.showInputDialog("Enter a word");
- While(!(line.equalsIgnoreCase("stop")));
- {
- System.out.println(line);
- line = JOptionPane.showInputDialog("Enter a word");
- }
- }
- }
Add Comment
Please, Sign In to add comment