SDL / Swing .91 beta Release

1 view
Skip to first unread message

Dan Leuck

unread,
Apr 23, 2010, 3:10:44 PM4/23/10
to sdls...@googlegroups.com
New Release (scroll to bottom):
http://www.ikayzo.org/confluence/display/SSW/Home

Hi Folks,

We just released the .91 beta. It fixes the getChildByID bug relating
to menu items. It also provides an easier way to get ButtonGroups:

Old Way
------------

menubar {
"Colors" ID="colors" {
radios {
"Red"
"Green"
"Blue"
}
}
}

Access via Java:
ButtonGroup group =
form.getChildByID("colors").getItem(0).getModel().getGroup();


New Way
-------------
menubar {
"Colors" {
radios group="colors" {
"Red"
"Green"
"Blue"
}
}
}

Access via Java:
ButtonGroup group = form.getGroup("colors");


We will be adding more documentation over the weekend.

Cheers,
Dan


--
Subscription settings: http://groups.google.com/group/sdlswing/subscribe?hl=en
Reply all
Reply to author
Forward
0 new messages