Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm practicing Java in Netbeans.

Is there a reference out there that's the de-facto standard for describing best practices, design methodologies, and other helpful information on GUI programming in Java? What about that reference makes it special?

share|improve this question
What is "visual programming"? Making graphical user interfaces? – Thomas Owens Sep 8 '11 at 18:25
yes, you mean true – Miladsob Sep 8 '11 at 18:30
Depends on your skill level. Is this completely new to you? – user1249 Sep 8 '11 at 18:59
Another good tutorial Java Swing Tutorial – topgun_ivard Sep 8 '11 at 19:21
yes, Im a new student that doesnt now any thing :) – Miladsob Sep 8 '11 at 19:28

Although NetBeans has a nice GUI editor, I would recommend that you start by learning Swing, with the Java tutorials. Swing is the GUI framework often (but not exclusively) used for Java applications, and it's also the framework supported by the NetBeans GUI editor. Once you understand Swing, you can dive into learning the tools provided by NetBeans.

share|improve this answer
@Miladsob JSR296 (Swing Application Framework) should be out-dated, long time withour any progress, as I know all Java GUI FrameWorks are based on Swing, some oldiest on ATW +1 – mKorbel Sep 8 '11 at 18:56
@mKorbel Did I miss something? I don't understand the context of your comment. – Thomas Owens Sep 8 '11 at 18:59
for you just up-vote – mKorbel Sep 8 '11 at 19:02

The way I always learned was by originally learning Swing from Sams Teach Yourself Java in 24 Hours, then I use netbeans' GUI builder simply to be able to copy over the Layout Code (in the GUI builder name all of your elements the same name as you name them in the regular code, and declare your one Swing elements by hand) once you get the hang of using Swing, things become much simpler, and you no longer have to rely on netbeans to build your code for you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.