Could someone please give me examples of a full GUI code.. Where I can find it to be precise.. Like images of it along with the java source code..thank you

Recommended Answers

All 9 Replies

Member Avatar for iamthwee

Why not use netbeans GUI builder?

You can use GuiGenie, also (it's freeware, search Google).

Why not use netbeans GUI builder?

because then you never learn to do it yourself, let alone do it properly.

Member Avatar for iamthwee

because then you never learn to do it yourself, let alone do it properly.

I agree but sometimes GUI builders are needed. For massive projects where time is a big constraint. No one would want to code every button position, combobox, tab control etc from scratch?

In fact most real projects DO code a lot of Swing code by hand, simply because most GUI builders produce such terrible results or results that aren't portable between environments (they put in their own classes which people on the team using other tools won't have, and sometimes are stupidly disallowed from distribution with the application).

And of course, if you don't learn how to do things, you never learn.
OP wants to learn how to write Swing code, but all you tell him is not to bother and use a graphical tool to plug things together.

Member Avatar for iamthwee

>In fact most real projects DO code a lot of Swing code by hand

Eww, that's yucky. Yay for visual studio.:cheesy:

most people code most C# and C++ GUI code by hand as well ;)

And VB isn't programming...

Member Avatar for iamthwee

Hmm, the strength of visual studio is that they've made the GUI builder an integral part of the IDE. I have always assumed large scale projects made use of all these features.

Shouldn't they?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.