File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Swing and NetBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing and NetBean" Watch "Swing and NetBean" New topic

Swing and NetBean

Varalakshmi Ramanarayan
Ranch Hand

Joined: Oct 28, 2007
Posts: 108
Hi all,

I have just started learning Swing, and was trying a few programs on NetBean. Is it really good Idea to use an IDE while learning? Because while learning Java we were told to use command prompt and not any IDE.
If it is good to Use an IDE,do i have to know about the code the system generates for me, when I drag n drop a button ot textfield?
Please tell me the best way to learn Swing(I know it differs from person to person, still I am interested about the most preffered way)and some good books or online tutorials that could help me.

Thanks very much in advance.

SCJP 5 - 87%<br />Next SCWCD
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10824

Hand coding to start with is best because you get your basics right. You can use an IDE and still hand code. I personally never use the drag and drop features.
Initially drag and drop might look attractive, but once you get on to the designing stage, you appreciate that hand coding always is the best.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Austin Lee
Ranch Hand

Joined: Feb 18, 2008
Posts: 56
I will use drag and drop. If we can save time, why not?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46337
Originally posted by Austin Lee:
If we can save time, why not?
While you are learning, you don't want to save time, you want to take the time to learn how the code is put together.
I agree. Here's the link:
subject: Swing and NetBean
jQuery in Action, 3rd edition