res =
"dialog {\
info: Panel{orientation:'column', alignChildren:'left',\
text:'Personal Info',\
n1: Group{ orientation: 'row',\
s: StaticText{text:'Name:'},\
e: EditText{characters:30},\
b: Button{text:'ok'}\
},\
n2: Group{ orientation:'row',\
s:StaticText{text:'Names:'},\
e:EditText{characters:30},\
b: Button{text:'ok'}\
}\
}\
,\
info: Panel{orientation:'column', alignChildren:'left',\
text:'Personal Info',\
n1: Group{ orientation: 'row',\
s: StaticText{text:'Name:'},\
e: EditText{characters:30},\
b: Button{text:'ok'}\
},\
n2: Group{ orientation:'row',\
s:StaticText{text:'Names:'},\
e:EditText{characters:30},\
b: Button{text:'ok'}\
}\
},\
b: Group { orientation: ’row’,\
okBtn: Button { text:’OK’, properties:{name:’ok’} }, \
cancelBtn: Button { text:’Cancel’, properties:{name:’cancel’} } \
}\
}";
win = new Window (res);
win.center();
win.show();