Quote (labatymo @ Feb 22 2013 05:08pm)
In your origional code, you were storing the list into an array called records, but looking at your full code, you're just using the list. So replace the System.out.println(records[new Random().nextInt( records.length )]) line with this...
System.out.println(winninglist.get(new Random().nextInt( winninglist.size())));
I do that, but it says. "winninglist cannot be resolved.
/e Im placing the println you wrote after the userCash = userCash + .50;
Your code here--- Because I need to display this msg after they win.
This post was edited by Malexir on Feb 22 2013 05:13pm