View Full Version : Learning GUI's
Glass Casket
05-24-2007, 04:41 PM
So I know Java well enough to find most of my own answers, but I'm still in search of a tutorial/video which will guide me through making my first GUI application. I have Eclipse with the Visual Editor and I know how to whip together a few panels together? But how can I take my GUI and make it talk ot my code?
Also, is there a guideline? Like, do you put all the GUI code in it's own class and simply initialize it in your main class? And I'll be developing under Linux.
Thanks.
I think the best place to start learning GUI programming is the Swing Tutorial provided by Sun Microsystems.
http://java.sun.com/docs/books/tutorial/uiswing/
You may also like to have a look at NetBeans...it has a very user friendly interface for building GUI apps.
Here is flash demo of using Netbeans to build Swing Applications
http://testwww.netbeans.org/kb/41/flash-matisse.html
If you are after a video tutorial...check out KeyStone
http://store.keystonelearning.com/detail.aspx?id=478
Cheers,
Ess
KeZZeR
05-24-2007, 05:20 PM
I put my GUI code in a separate package with my project.
As for GUI coding, you simply hook library calls into the GUI code.
ghell
05-26-2007, 12:29 AM
I always found this pretty useful when I was starting:
http://java.sun.com/docs/books/tutorial/ui/features/components.html
I don't know about any fancy GUI designers though, I hand code mine.
By the way the beauty of Java is that it doesn't matter that you are developing under linux (well, just don't use beryl [or rather emerald] if you are)
Glass Casket
06-03-2007, 12:51 AM
Nice, thanks guys.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.