Well, what we have now is not strictly round trip, but then neither was Visual Basic. While VB did output GUI form files that were technically text, they were effectively opaque binary files that you should never edit by any tool other than VB. Only the event handlers were code. The JavaFX Production Suite is similar. It outputs an opaque 'binary' file (really a zip file containing images and easy to parse text files in a format that will eventually be documented). You then load up this binary file in code and start adding event handlers to it. The binary blob can change later by saving over it in Photoshop/ Illustrator and it still works fine as long as the exposed variable names haven't changed. I put together a little screencast that shows how it works:
http://blip.tv/file/2288262 -j On Jul 10, 2009, at 6:15 PM, Casper Bang wrote: > > This may be exactly why JavaFX might fare better than both Swing and > JSF. Code generated by a RAD editors can not be hand coded at the same > time, you pretty much have to make the choice up-front, can't have > them both. So as a first for the Java world, seems like the round-trip > engineering legacy of Visual Basic is being picked up by JavaFX. I > hope so anyway. :) > > /Casper > > On 11 Jul., 01:27, Joshua Marinacci <[email protected]> wrote: >> Ah. One of our goals with JavaFX is to make it tool friendly but you >> should still be able to do everything cleanly at the code level. The >> APIs and language (JavaFX Script) were designed in parallel to make >> that happen. >> >> - J >> >> On Jul 10, 2009, at 4:06 PM, Greg Reddin wrote: >> >> >> >>> On Fri, Jul 10, 2009 at 5:56 PM, Joshua Marinacci<[email protected]> >>> wrote: >> >>>> I don't know the >>>> history of JSF (since I wasn't at Sun for part of it and never >>>> worked >>>> with it), but I suspect lack of focus was a part of it. >> >>> I suspect some of it was due to a focus on tools vendors. If you're >>> using a tool to build an app it doesn't much matter if you have a >>> bunch of XML and the tool updates it for you. It's more a problem if >>> you're editing things by hand, which is what many of us like to do. >> >>> Greg > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
