Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1008156 // showTextFieldForm

JavaX fragment (include)

// action: voidfunc(S)
static void showTextFieldForm(fS title, fS name, fS value, fO action) {
  awt {
    final JTextField tf = jtextfield(value);
    showFormTitled(title, name, tf, r {
      pcallF(action, getTextTrim(tf))
    });
  }
}

static void showTextFieldForm(fS title, fS name, fO action) {
  showTextFieldForm(title, name, "", action);
}

Author comment

Began life as a copy of #1006692

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008156
Snippet name: showTextFieldForm
Eternal ID of this version: #1008156/3
Text MD5: 6743c229b9f732c654e41656f6168683
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-11 21:37:42
Source code size: 362 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 576 / 564
Version history: 2 change(s)
Referenced in: [show references]