Does programming desktop applications in netbeans 6.9 different in swing applications of java?
because i have tried to study GUI in java using netbeans 6.9, i choose the desktop application and then there's a drag and drop style for designing the form . . . but the coding is different from using swing . . . . please explain me this to me . . .
because i want to learn GUI in java . . . .
please . . . .
2 replies to this topic
#1
Posted 22 November 2010 - 06:03 PM
|
|
|
#2
Posted 05 December 2010 - 07:54 AM
As far as I know, the code generated by Netbeans GUI Builder is completely compatible with handwritten code. However, all the code in swing GUI's that I wrote did not look the same als the GUI Builder code. If you want to understand the code of the GUI Builder I would suggest you start with understanding hardwritten GUI's.
Greetz
Greetz
#3
Posted 05 December 2010 - 01:10 PM
Using the GUI of Netbeans can be very useful but you have to understand the code, and you must know how the buttons, text fields, and windows (Frames) work. I recommend you to check some tutroials how to use swing components like buttons, text fields etc.
In fact, Net beans gives you only a template (design) that you have to fill by your own code. It is very useful because if you need to have certain button on certain position on the screen, in normal code you had to write a lot of code. This way net beans does it itself and you only drag and drop the content you want.
My opinion is, you could create some very easy applications by yourself -- like one button on the screen, one text field etc. And fastly you get into this type of programming.
If you only dont understand certain part of the code post it here, if know i explain. :)
In fact, Net beans gives you only a template (design) that you have to fill by your own code. It is very useful because if you need to have certain button on certain position on the screen, in normal code you had to write a lot of code. This way net beans does it itself and you only drag and drop the content you want.
My opinion is, you could create some very easy applications by yourself -- like one button on the screen, one text field etc. And fastly you get into this type of programming.
If you only dont understand certain part of the code post it here, if know i explain. :)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









