How to make game menu Java
- by Deathsbreed
I've been searching all over for how to make a game menu, but I haven't found anything useful. I have a very simple Pong like game (source-code here), and I want to add a main menu to it. This wouldn't be too much of a problem if I was making a standalone with JFrame instead of an Applet, but I want this to be available on the web (not downloaded).
I might have been able to do some of it myself, except for the fact that it would mean having a very heavy main class (in this case the GNP.java file).
So I was thinking, is there a way to basically have a Java Applet and have it use a JFrame and how? and if not, what could I do?
Thanks!