seb*_*e23 16 java xml user-interface swing frameworks
我正在寻找最流行的框架来创建一个带有xml定义的java gui.我更喜欢Swing!
你的意见是必要的,谢谢!
我对ANTForm有很好的经验:http://antforms.sourceforge.net/.
它从XML生成Java Swing面板.我用它来构建执行ANT目标的简单GUI应用程序.
XML声明的示例:
<antform title="Send Mail"
save="properties.txt"
image="doc/images/testlogo.jpg">
<label>To send a mail, use the following form. Pick a recipient,
type a subject and a body...the script will do the rest.</label>
<selectionProperty label="Recipient: "
property="recipient"
values="address1@somewhere.com; address2@somewhere.com; address4@somewhere.com"
separator=";"/>
<textProperty label="Subject : " property="subject" />
<multilineTextProperty label="Message body: "
property="body"/>
<booleanProperty label="Send immediately: " property="send"/>
</antform>
Run Code Online (Sandbox Code Playgroud)
它产生的例子:

小智 3
我不知道是否有任何流行的Java 框架,但您可能会看看XUL,这是 Firefox UI 及其插件使用的。
有一些基于 Java 的引擎可以渲染XUL (使用 Swing),但我不确定它们处于什么状态。