Results 1 to 4 of 4
- 12-12-2011, 06:28 PM #1
Member
- Join Date
- Sep 2011
- Posts
- 22
- Rep Power
- 0
Creating a stylized menu screen: Is this possible (img included)?
Hello!
I come bearing a question that, for the life of me, I can't figure out the answer to. Because I'm having trouble with the wording when asking both Google and forums I decided to just draw an image of what I want to do and hopefully someone can tell me if 1) it's possible and 2) can you point to some resources that will teach me.
Below is an image for a simple fighting game. This is what I want the start screen to look like however I have no idea how to use both JComponents (like JButton and JTextField) as well as drawing images like the background or player. Perhaps I shouldn't even be using JComponents at all?

Thanks.
- 12-12-2011, 07:27 PM #2
Re: Creating a stylized menu screen: Is this possible (img included)?
This is definitely possible using Swing. First, play with borders, background colors, fonts, etc. Much of what you're looking for can be accomplished that way. For anything else, you might have to do some of your own painting (which you're going to have to do if you're making a game anyway). Recommended reading: Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 12-12-2011, 07:38 PM #3
Member
- Join Date
- Sep 2011
- Posts
- 22
- Rep Power
- 0
- 12-12-2011, 08:00 PM #4
Re: Creating a stylized menu screen: Is this possible (img included)?
Cool. Let us know if you have any questions. Also, the Swing Tutorial in general is a great resource: Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
As well as the API: Java Platform SE 6
If you're looking into programming a game, you should get used to having those pages open pretty much all the time.How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
Similar Threads
-
Creating a Main Menu - Importing
By l3eater in forum Java AppletsReplies: 2Last Post: 12-28-2010, 05:41 AM -
Returning the selected menu item from a popup screen
By phil128 in forum AWT / SwingReplies: 4Last Post: 12-11-2010, 05:08 PM -
Creating Start screen
By mustachMan in forum New To JavaReplies: 7Last Post: 07-16-2010, 08:56 PM -
Creating menu screen for games
By sahildave1991 in forum AWT / SwingReplies: 1Last Post: 07-02-2010, 05:36 PM -
Creating a splash screen in SWT
By Java Tip in forum SWTReplies: 0Last Post: 07-25-2008, 02:29 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks