I am working on a Swing application and would really love to declare my views in an XML format in fashion similar to GWT’s UiBinder, JSP, JSF, ZK, IceFaces, etc.
I found JFCML but it doesn’t appear to be an active project; in terms of development as well as use/reference.
Have my Google skills failed me or does something like this not exist? If it doesn’t exist, is it because such methods of separating view and controller are better done another way in Swing?
The “built-in” solution is the XMLEncoder – XMLDecoder pair, but they are not widely used, I am not sure that they can cope with real-world scenarios.
A lot of open-source libraries have been suggested already on SO, I recommend these questions:
suggestions for declarative GUI programming in Java
Java: Create a GUI with XML?
Is XML or XUL the future of Java GUI building?
Java form from xml