The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Java Problem

So hello guys, im new to Java, still learning so i meant to make like random number generator game where window will be opened and have like 3 buttons if user hits first it move him to mode where he will be guessing numbers from 1-10, if he clicks second button it moves him to window where he will be guessing from numbers from 1-20 etc.So i made 2 files Game.java and Mode.java(Mode 1-10). So here's my code from Game.java