Forums Register Login

Start Menu for Game

+Pie Number of slices to send: Send



I'm a beginner coder and I need help making a start menu for this game. This is game is basically fruit ninja but I have not yet finished this game. The start menu needs a start menu and an exit menu. How do I create a start menu with cardlayouts?
+Pie Number of slices to send: Send
 

I'm a beginner coder



Start by reading the Swing tutorial.

There are section on:

1. How to Use CardLayout
2. How to Use Menus

to get your started. The tutorial contains working examples you can download and experiment with.
joke time: What is brown and sticky? ... ... ... A stick! Use it to beat this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2557 times.
Similar Threads
JPanel size
Image does not appear?
Printing: How to disable doubleBuffering on Graphics2D?
Custom Buttons?
Adding InputHandler to game throws a java.lang.nullPointerException
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:40:31.