<small id='XTQPj'></small><noframes id='XTQPj'>

    1. <legend id='XTQPj'><style id='XTQPj'><dir id='XTQPj'><q id='XTQPj'></q></dir></style></legend>
        <bdo id='XTQPj'></bdo><ul id='XTQPj'></ul>
      <tfoot id='XTQPj'></tfoot>
      <i id='XTQPj'><tr id='XTQPj'><dt id='XTQPj'><q id='XTQPj'><span id='XTQPj'><b id='XTQPj'><form id='XTQPj'><ins id='XTQPj'></ins><ul id='XTQPj'></ul><sub id='XTQPj'></sub></form><legend id='XTQPj'></legend><bdo id='XTQPj'><pre id='XTQPj'><center id='XTQPj'></center></pre></bdo></b><th id='XTQPj'></th></span></q></dt></tr></i><div id='XTQPj'><tfoot id='XTQPj'></tfoot><dl id='XTQPj'><fieldset id='XTQPj'></fieldset></dl></div>
      1. Java:使用 XML 创建 GUI?

        Java: Create a GUI with XML?(Java:使用 XML 创建 GUI?)

      2. <legend id='fdDRm'><style id='fdDRm'><dir id='fdDRm'><q id='fdDRm'></q></dir></style></legend>
        • <bdo id='fdDRm'></bdo><ul id='fdDRm'></ul>
        • <i id='fdDRm'><tr id='fdDRm'><dt id='fdDRm'><q id='fdDRm'><span id='fdDRm'><b id='fdDRm'><form id='fdDRm'><ins id='fdDRm'></ins><ul id='fdDRm'></ul><sub id='fdDRm'></sub></form><legend id='fdDRm'></legend><bdo id='fdDRm'><pre id='fdDRm'><center id='fdDRm'></center></pre></bdo></b><th id='fdDRm'></th></span></q></dt></tr></i><div id='fdDRm'><tfoot id='fdDRm'></tfoot><dl id='fdDRm'><fieldset id='fdDRm'></fieldset></dl></div>

                1. <small id='fdDRm'></small><noframes id='fdDRm'>

                  <tfoot id='fdDRm'></tfoot>
                    <tbody id='fdDRm'></tbody>
                  本文介绍了Java:使用 XML 创建 GUI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在寻找最流行的框架来创建带有 xml 定义的 java gui.我更喜欢 Swing!

                  im searching for the most popular framework to create a java gui with xml definitions. I prefer Swing!

                  需要您的意见,谢谢!

                  推荐答案

                  我有很好的ANTForm:http://antforms.sourceforge.net/.

                  它从 XML 生成 Java Swing 面板.我用它来构建执行 ANT 目标的简单 GUI 应用程序.

                  It generates Java Swing panels from XML. I have used it to build simple GUI apps that execute ANT targets.

                  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>
                  

                  它产生的例子:

                  这篇关于Java:使用 XML 创建 GUI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)
                    <tbody id='DVtGB'></tbody>
                2. <tfoot id='DVtGB'></tfoot>

                  <legend id='DVtGB'><style id='DVtGB'><dir id='DVtGB'><q id='DVtGB'></q></dir></style></legend>

                    <small id='DVtGB'></small><noframes id='DVtGB'>

                      • <bdo id='DVtGB'></bdo><ul id='DVtGB'></ul>

                          <i id='DVtGB'><tr id='DVtGB'><dt id='DVtGB'><q id='DVtGB'><span id='DVtGB'><b id='DVtGB'><form id='DVtGB'><ins id='DVtGB'></ins><ul id='DVtGB'></ul><sub id='DVtGB'></sub></form><legend id='DVtGB'></legend><bdo id='DVtGB'><pre id='DVtGB'><center id='DVtGB'></center></pre></bdo></b><th id='DVtGB'></th></span></q></dt></tr></i><div id='DVtGB'><tfoot id='DVtGB'></tfoot><dl id='DVtGB'><fieldset id='DVtGB'></fieldset></dl></div>