[ BUILD # : d5b5aa729233 ]
[ JDK VERSION : 1.6.20 ]
The hint to generate getters and setters should create the methods in the same
order as fields are declared.
It looks to me a really good candidate for NetFIX program. Any objection from you in review a future patch?
Created attachment 103198 [details]
I've made a little change which make it works as expected when generating the code but now it affects the UI too. The fields are shown now in the same order they are declared and will have their methods created. It will reflects as well for toString generation.
Dusane, can you please review & integrate the patch if you think it's okay? Thanks!
I don't think the patch is OK - elements (methods, fields) should stay sorted alphabetically in the UI IMHO (otherwise, e.g. finding a proper method to override from the JTextComponent becomes quite difficult).
Comment on attachment 103198 [details]
No problem. I will work more on it soon. Thanks.
Looks like the latest redesign of code generation has fixed it. Thanks guys.
v. Build 20120328-c92916a691a0