943,608 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1986
  • Java RSS
Feb 13th, 2009
0

First Java Game

Expand Post »
hey guys im pretty new to java but im very eager to learn and want to make my first game

I want a simple RPG game, but also want to make a GUI.

I am using Netbeans as my IDE, do i need anything else to make a GUI?

I just want a simple 2d game no big deal. It's my first game after all. Just looking for you guys to point me in the right direction since i don't know were to start. I know what i want the game to be like, i can code it, but i guess i'm just needing some help with the GUI. Is this difficult?

THanks!
Similar Threads
Reputation Points: 11
Solved Threads: 0
Junior Poster in Training
jhonnyboy is offline Offline
97 posts
since Jul 2008
Feb 14th, 2009
0

Re: First Java Game

No, not really. GUIs are actually pretty easy and enjoyable once you know the basic. They are some of the best parts of Java I think. Since you are using Netbeans as your IDE (I'm assuming you have some program that lets you program (BlueJ, Eclipse, etc. ) ), so here:
http://www.netbeans.org/kb/trails/matisse.html
This website should help point in the right direction a little bit. Happy programming!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
JMChurch25 is offline Offline
10 posts
since Feb 2009
Feb 14th, 2009
0

Re: First Java Game

Quote ...
I want a simple RPG game, but also want to make a GUI.

If you want to make a game, first of all hopefully your basics in Java (and 3D/2D Geometry) are thorough, Next you might want to see the "Starting Java" Sticky. ~s.o.s~ has mentioned the JMonkey Engine for making games in Java.

As Far as making GUIs is concerned almost most Java IDE's now-a-days ship in with a form designer (Eclipse, NetBeans, IntelliJ), still its best to design your first few forms by hand. For AWT [1,2] and this for Swing(which is more richer that AWT) should help you get started with making your own GUIs in Java in whichever one of the two toolkits you wish to use.

Then to make GUIs theres also the SWT library which can be found here. However I wouldn't recommend on using it since it doesn't ship along with the JDK unlike AWT and Swing.
Last edited by stephen84s; Feb 14th, 2009 at 4:33 am.
Featured Poster
Reputation Points: 653
Solved Threads: 151
Nearly a Posting Virtuoso
stephen84s is offline Offline
1,316 posts
since Jul 2007
Feb 15th, 2009
0

Re: First Java Game

Click to Expand / Collapse  Quote originally posted by jhonnyboy ...
I am using Netbeans as my IDE, do i need anything else to make a GUI?
NetBeans makes it quite easy to make Swing GUI's, but I would recommend you to start without NetBeans, if you don't have the basic understanding of the working yet.

NetBeans will generate a bunch of code for you, so it's "easy" to learn, but you won't learn anything about how it actually works.

the only things you need to develop a Swing application, is notepad, some understanding about how a Swing GUI is build, but you can find millions of examples on the world wide web, and, off course, Java installed on your machine
Reputation Points: 919
Solved Threads: 354
Nearly a Posting Maven
stultuske is online now Online
2,475 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Effective double comparision
Next Thread in Java Forum Timeline: Problems getting focus on buttons





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC