On Sunday 30 June 2002 19:57, Brendon McLean wrote: > That is theoretically impossible. There is no program that can accurately > predict the execution path of another program in general or even when/if it > will terminate in general. That's why editors usually tell you to get lost > if you edit the generated code. This is not something that will ever be > solved. It's fundamental to computer science. It makes you wonder why any > of the editors bother generating code instead of just using an XML resource > file.
Evidently, you've never used JBuilder? It's not perfect (at least in JB4, which is now 3 generations out of date), but it does do "two-way" editing. If you're careful, you can make mods to the source code and the pull it back into the designer tool... As far as I know, it doesn't bother trying to predict the execution of the code, it just creates an instance of the window class and goes with it. Of course I'll be the first to admit that it's over-priced and the generated code is crap, but _it_ _does_ _work_. FWIW, I'm opposed to an XML/resource file scheme, because I feel that it must sacrifice flexibility in terms of what can be done with the generated interface. But then maybe I'm just biased against anything that trys to borrow from VB... -Jason ========================= Vampires are [...] by nature as co-operative as sharks. Vampyres are just the same, the only real difference being that they can't spell properly. (Carpe Jugulum) _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
