Swing开发框架 Griffon 0.9.4 发布
openkk 13年前
<p><a href="/misc/goto?guid=4958195154377668467" target="_blank">Griffon </a>是Swing开发者的一个Groovy框架。Griffon期望提供一个稳定代码结构给Swing应用,就像Grails给web开发带来的优势一样。同 时,Griffon也可能提供一个替代应用框架,替代Spring RCP,Eclipse RCP和NetBeans平台。<img title="Swing开发框架 Griffon 0.9.4 发布" border="0" alt="Swing开发框架 Griffon 0.9.4 发布" align="right" src="https://simg.open-open.com/show/1f1f3a4282b0f139533978101b84da98.png" width="310" height="100" /></p> <p>示例代码:</p> <div style="border-bottom-width:1px;" class="codeHeader panelHeader"> <strong>DemoConsoleView.groovy<pre class="brush:java; toolbar: true; auto-links: false;">application(title:'DemoConsole', pack:true, locationByPlatform:true) { panel(border:emptyBorder(6)) { borderLayout() scrollPane(constraints:CENTER) { textArea(text:bind(target:model, targetProperty:'scriptSource'), enabled: bind {model.enabled}, columns:40, rows:10) } hbox(constraints:SOUTH) { button("Execute", actionPerformed:controller.&executeScript, enabled: bind {model.enabled}) hstrut(5) label("Result:") hstrut(5) label(text:bind {model.scriptResult}) } } }</pre></strong> </div> <p>修复的bug列表请看 [<a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11833&version=17638" target="_blank">http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11833&version=17638</a>].<br /> 完整的发行说明请看 <a href="/misc/goto?guid=4958195155903996621" target="_blank">here</a>.<br /> <br /> 下载页面:<a href="/misc/goto?guid=4958195156644108980" target="_blank">download page</a>.</p>