svoid dm_intFieldMenuItem(Container frame, fS field, fO... _) { final DynModule m = dm_current_mandatory(); fS humanized = humanizeFormLabel(field); internalFramePopupMenuItem(frame/JInternalFrame, humanizeFormLabel(field) + "...", r { final JTextField tf = jtextfield(get(m, field)); showFormTitled(or2(stringOptPar(_, 'formTitle), "Set " + humanized), humanized + ":", tf, r { m.setField(field, parseInt(gtt(tf))); callF(optPar(_, 'onSet)); }); }); }
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019106 |
Snippet name: | dm_intFieldMenuItem |
Eternal ID of this version: | #1019106/5 |
Text MD5: | 29dc7040a3ac471f3ac572e81affe8e5 |
Author: | stefan |
Category: | javax / stefan's os / web cam |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-29 00:34:23 |
Source code size: | 507 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 389 / 450 |
Version history: | 4 change(s) |
Referenced in: | [show references] |