}
@OnEvent(eventType=EventType.Clicked, elementName="myRect")
public void RectClick()
{
LObject rect = getUI("myRect");
if (rect.get("Background").equals("SkyBlue"))
{
rect.set("Background", "IndianRed");
}
else
{
rect.set("Background", "SkyBlue");
}
getUI("root").redraw();;
}