Here is the code that is giving me an error --
if(money > 500)
JOptionPane.showMessageDialog(null, "OK..you win...I owe you $ "money - 500" \n You'll be back!!\n", "MONEY COUNT", JOptionPane.INFORMATION_MESSAGE);
The error is telling me that I need to put ")" in the line (I'm assuming...
I just have a (easy?) quick question. I'm trying to put this string into one line and not three and I was wondering how to do that. If anyone could help it would be appreciated.
String pokerGame = (new StringBuilder()).append(" Dealer: X X\n\n X\n\n...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.