home | career | drupal | java | mac | mysql | perl | scala | uml | unix

Groovy example source code file (swing.xml)

This example Groovy source code file (swing.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Groovy tags/keywords

cancel, cancel, my, ok, ok, save, save, window, window

The Groovy swing.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()"/>

Other Groovy examples (source code examples)

Here is a short list of links related to this Groovy swing.xml source code file:

new blog posts


Copyright 1998-2014 Alvin Alexander, alvinalexander.com
All Rights Reserved.