Type: Posts; User: SupportIsPower
Why don't you just: int number = 1+new Random().nextInt(56); Seems alot simpler, doesn't it?