!7 cmodule MarkEyebrows > DynImageSurface { transient JTextField tfState; // State of the eyebrows! start { dm_onClipboardImage(voidfunc(final BufferedImage img) { setImage(img); dm_enableAllButtons(); }); } visual withCenteredButtons(super, jLabel("State of the brows:"), tfState = jMinWidth(100, jTextField("normal")), jDisabledButton("Save marked eyebrows", rThread { ai_saveMarkedEyebrows(getImage(), getSelection(), gtt(tfState)) } ), jHelpIcon("Copy an image to the clipboard to mark it here"), ); }