| window model label input output button check list slider reset |
window := SystemWindow new.
window setLabel: 'LearnSqueak - Form controls'.
model := LearnSqueakFormDemo new.
window model: model.
label := StringMorph contents: 'Name (press Enter to accept):'.
window addMorph: label frame: (0.04@0.03 corner: 0.96@0.10).
input := PluggableTextMorph on: model text: #nameText accept: #acceptName:.
input acceptOnCR: true; wrapFlag: false.
model inputMorph: input.
window addMorph: input frame: (0.04@0.11 corner: 0.96@0.23).
output := PluggableTextMorph on: model text: #result accept: nil.
output readOnly: true.
window addMorph: output frame: (0.04@0.73 corner: 0.96@0.95).
window openInWorld; extent: 650@420; position: 300@150.
window
