!7 cmodule FingerTypeMode > DynFullscreen { S text; visual withCenteredButtons(dm_textFieldWithLabel text(), "Go fullscreen", rThread goFullscreen); JComponent fullscreenVisualize() { new L buttons; int nButtons = 12; buttons.add(jbutton("Exit", rThread exitFullscreen)); S chars = "abcdefghijklmnopqrstuvwxyz"; for (S s : stringChunks(chars, ratio_iceil(l(chars), nButtons-l(buttons)))) buttons.add(jbutton(upper(s))); ret northAndCenterWithMargins( dm_textField text(), hvgrid(chunks(4, buttons), 5); } }