| | |
First Java Game
![]() |
•
•
Join Date: Jul 2008
Posts: 86
Reputation:
Solved Threads: 0
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!

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!
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!
http://www.netbeans.org/kb/trails/matisse.html
This website should help point in the right direction a little bit. Happy programming!
That is correct according to JMChurch!!
•
•
•
•
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.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
•
•
•
•
I am using Netbeans as my IDE, do i need anything else to make a GUI?
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
![]() |
Similar Threads
- java game code (Java)
- Java Code for interesting Java Game (Java)
- Java Game Characteristics (Java)
- Java Game Characteristics (Java)
- A great java game. (Geeks' Lounge)
- build java game (Java)
- Java Game Applet Too Small (Java)
Other Threads in the Java Forum
- Previous Thread: Effective double comparision
- Next Thread: Problems getting focus on buttons
| Thread Tools | Search this Thread |
6 @param actuate android api applet application arc array arrays automation balls binary bluetooth bold business byte c++ chat class client code codesnippet collections compare component coordinates database defaultmethod detection doctype dragging ebook eclipse educational error file fractal froglogic game givemetehcodez graphics gui guitesting helpwithhomework hql html ide ideas image ingres input integer internet intersect invokingapacheantprogrammatically j2me java javaexcel javaprojects jni jpanel jtextarea julia linux list map method methods mobile mysql netbeans newbie nextline parameter php pong problem program programming project recursion recursive scanner sell server set sms sort sql string sun swing swt terminal threads tree web websites windows






