Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Griffon 0.9.5-rc1 Color in developing Swing Interface with Groovy

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Groovy development Swing interface Griffon 0.9.5-rc1 color example analysis, for this problem, this article details the corresponding analysis and solution, hoping to help more want to solve this problem of small partners to find a simpler and easier way.

The Griffon team today released Griffon 0.9.5-rc1, a Groovy framework for Swing developers. Griffon expects to provide Swing applications with a stable code structure, just as Grails brings advantages to web development. At the same time, Griffon may also provide an alternative application framework to Spring RCP,Eclipse RCP and NetBeans Platform.

For a list of bugs fixed in this release, see:

http://jira.codehaus.org/secure/ReleaseNote.jspa? projectId=11833&version=17352

Example code:

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}) } } } About using Groovy to develop Swing interface Griffon 0.9.5-rc1 color sample analysis questions to share here, I hope the above content can be of some help to everyone, if you still have a lot of doubts, you can pay attention to the industry information channel to learn more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report