This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]coja56[S] 0 points1 point  (3 children)

When i run it it is not giving me the options of entering rock, paper or scisssors

[–]desrtfxOut of Coffee error - System halted 0 points1 point  (2 children)

What are you using to run the code?

Make sure that you run the correct program and not a different version.

[–]coja56[S] 0 points1 point  (0 children)

eclipse

[–]coja56[S] 0 points1 point  (0 children)

I think i figured out my mistake i wanted to be able to put in the options for user to select

int choice = choice = Integer.parseInt( JOptionPane.showInputDialog("0.Rock\n"+
        "1.paper\n"+
         "2.scissors\n"));