D
Dale King
Using XML for specifying the GUI seems a natural fit and there are a
large number of packages that try to do this. But in my research of
them, they all seem to be lacking in many ways. Many are not even in
active development anymore.
Is there any really good XML API for creating Swing UI's?
Some try to be agnostic to whether the API is for a web page or Swing.
This basically means they do a lousy job of both. In my case all I care
about is Swing.
Some try to create new abstractions to hide Swing. I don't want new
abstractions. Dealing with Swing is fine.
Most handle the basics of specifying simple hierarchies and simple
attributes, but when things get more complicated they break down. For
example, would be a JList and having the ability to specify the model,
the cell renderer, and the selection model. Not to many are powerful
enough to go there or more complex relationships when creating your own
types.
Some of the ones I have looked at are SwiXML, XUI, Luxor, gui4j, xamj,
and Jaxx.
Jaxx seems to be in active development and is fairly powerful, but it
has no direct support for localization (you have to do it yourself). It
also is a precompiler that turns your xml file into java source code. I
want the ability to allow XSLT transformation on the XML file at runtime
as part of localization.
large number of packages that try to do this. But in my research of
them, they all seem to be lacking in many ways. Many are not even in
active development anymore.
Is there any really good XML API for creating Swing UI's?
Some try to be agnostic to whether the API is for a web page or Swing.
This basically means they do a lousy job of both. In my case all I care
about is Swing.
Some try to create new abstractions to hide Swing. I don't want new
abstractions. Dealing with Swing is fine.
Most handle the basics of specifying simple hierarchies and simple
attributes, but when things get more complicated they break down. For
example, would be a JList and having the ability to specify the model,
the cell renderer, and the selection model. Not to many are powerful
enough to go there or more complex relationships when creating your own
types.
Some of the ones I have looked at are SwiXML, XUI, Luxor, gui4j, xamj,
and Jaxx.
Jaxx seems to be in active development and is fairly powerful, but it
has no direct support for localization (you have to do it yourself). It
also is a precompiler that turns your xml file into java source code. I
want the ability to allow XSLT transformation on the XML file at runtime
as part of localization.