How to Generate Random Numbers in Java Swing