Java GUI Development

Status
Not open for further replies.

reboot

Ars Legatus Legionis
10,818
By definition, any IDE should provide that feature. If not, it's a text editor (well, mostly) ;)

Doh is right, generated code is always crap, however the least crappy generated code I've seen was from JBuilder.

I find Visual Age easier to design an interface with, but the generated code is uuuuuugly. :eek:

Eclipse should do it as well, but I've never tried it...
 

reboot

Ars Legatus Legionis
10,818
I agree, but why would you want to hand-write code that implements "windows" and "buttons" for the billionth time ? Whatever application you write, this part of the code will be the same so it's better to leave it for code-generators.


That depends on what you're programming.

Since it's a pain to revisit and modify pre-generated code, if you're working on something that might change in the future or needs to be highly maintainable, hand writing the whole thing is the way to go.
(at least in java, with current IDEs)

If you're working on pre-generated code and have to modify it, say, 2 years later, you have to use the same IDE or you're scre-hu-hu-wed.

It's great for quick apps though.

Also when working with complex interfaces, it'll be just as long to make it look the way you want with a code generator than by hand.

plus when you know the layouts real well, it simply becomes a big copy/paste job so isn't much longer anyway.

Most programmers here will generally prefer to write the whole thing and I am quite impressed by how efficient some of them are.
 

MaximDiscord

Smack-Fu Master, in training
75
Whatever the reason may be, I really don't want to hand write yet ANOTHER GUI anytime soon. I'm still in the process of touching up another fairly large (10k lines) application, and now I need to create a pretty simple (and small) application to do a different task.

It's not really something that will need a lot of support over the years, so I'm not really worried if the pre-generated code is difficult to modify.

Thanks for the help

Ron
 
Status
Not open for further replies.