javaswingxulgui-builder

UI Development with Java and XUL


I'm interested in using XUL as a standard way of defining my Java app (both Swing and web alike) UIs. To do this, I need two major components:

I would have thought this would be easy to find, however there are a number of problems:

Anyone have any idea as to how I could marry these two ideas together and accomplish what I need? Thanks in advance!


Solution

  • I once explored that avenue with many toolkits. From my experience, it is not worth it, but why not give it another try?...

    I needed the following :

    I ended up customizing an existing library. I can't recall the exact name, but I think it was a fork of swingml to support inline scripting better. I improved the Rhino support and also hooked some Jython integration.

    There were many other options, but nothing that was really astonishing.

    I also tried to use Apache Commons Jelly (main library behind early Apache Maven versions). Commons Jelly has/had a Jelly Swing module.

    At the end, I realized that it wasn't both convenient and time saving, in addition to overhead (Java reflection and dynamic method dispatching, proxies and interaction with JVM scripting languages -> scoping among other things, etc.).