|
Groovy example source code file (swing2.xml)
The Groovy swing2.xml source code
<?xml version="1.0"?>
<!-- this example demonstrates using markup to specify a rich user interface -->
<frame text="My Window" size="[300,300]">
<label text="Save changes" bounds="[10,10,290,30]"/>
<panel bounds="[10,40,290,290]">
<button text="OK" action="save()"/>
<button text="Cancel" action="close()"/>
</panel>
</frame>
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy swing2.xml source code file: |
Other websites by Alvin Alexander:
Life/living in Alaska (OneMansAlaska.com)
How I Sold My Business (HowISoldMyBusiness.com)
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.