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

Groovy example source code file (swing2.xml)

This example Groovy source code file (swing2.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 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()"/>

Other Groovy examples (source code examples)

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

new blog posts


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

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.