I'm looking to create a main menu in either C++ or Java (I'm assuming the method is similar enough that I can reapply it to the other). I want to make a menu for my program that is the first thing the user sees when they open the program. It doesn't have to be complex; just buttons that start up the actual game, show a tutorial, go to options, and exit the program. And a background image would be nice.
I'm trying to learn both C++ and Java myself by making small applications and games, and while I can create the application part of the program, start-up menus are eluding me. Sorry if this is a basic question.
Are you asking about how to implement the logic for a menu, or about how to display the graphics for it? If the latter, what windowing system or graphics API are you using? Do you already have graphics working for the actual game?