A reader named Jeff asks:
are you aware of any way to render an XForm as Swing widgets (or heck, AWT for that matter) from within a Java thick app?
Anyone have pointers? Comment here. -m
A reader named Jeff asks:
are you aware of any way to render an XForm as Swing widgets (or heck, AWT for that matter) from within a Java thick app?
Anyone have pointers? Comment here. -m
Chimezie
June 10th, 2006 at 3:12 pmI’m very interested myself, I don’t think any such mapping exists, but would be very interesting to write. Somewhat related: J Tauber’s port of Google Web Toolkit.
ghchinoy
June 10th, 2006 at 8:07 pmPossibly something like this? XSWT
Jeff
June 12th, 2006 at 11:28 amGhchinoy, like that (or XWing), but based on the XForms XML standard. We’d like to lay out forms for displaying/configuring some data in an embedded server, then render as HTML/CSS/JS from from a servlet (when someone points their browser at the server) or as a Swing panel (when someone points a thick management app at the server). It looks like the former could be handled via Chiba or OIS, but rendering them on the Swing side…
Marshall http://www.freeinnovation.net
June 13th, 2006 at 6:42 pmActaully we have done something close to that. We rendered an X-Smiled (http://www.x-smiles.org/) object and put it inside a JFrame. It works well except for a few quirks such as displaying blank instances and the fact that we can’t figure out how to load an XForm in memory. We actaully have to save the instance to disk and then load it from disk. Not very efficient but it works for now. This is all for a project with an open source Jabber client I am doing for work, will be presented a JEP proposal later this year.