Originally Posted by Fou-Lu
Yeah more or less.
I'd use the scanner and keep the components separate. If you want to use JOptionPane, I'd use that in conjunction with a frame instead of with the cli.
The while loop won't end though, so you'll need to do something with the choice variable. Or change it to something like a do/while with a boolean control and simply default it to not loop and simply swap it to loop if entry is no good.
Kk im going to convert it to CLI and then when i finish i will convert to GUI to get a better understanding. Thanks for the help, i need a nice break lol.