static JPanel textFieldWithButton(S buttonText, final JTextField tf) { ret centerAndEast(tf, withLeftMargin(jbutton(buttonText, r { simulateEnter(tf) }))); }
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: | #1007773 |
| Snippet name: | textFieldWithButton - place a submit button beside a JTextField |
| Eternal ID of this version: | #1007773/1 |
| Text MD5: | d860e83f6321bbfe5737bac550256676 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-04-05 17:17:34 |
| Source code size: | 161 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1018 / 845 |
| Referenced in: | [show references] |