static JTextField jTextField() { ret jTextField(""); } static JTextField jTextField(fS text) { ret swing(func -> JTextField { JTextField tf = new JTextField(unnull(text)); standardTextFieldPopupMenu(tf); jenableUndoRedo(tf); tf.selectAll(); ret tf; }); } static JTextField jTextField(O o) { ret jTextField(strOrEmpty(o)); }
Began life as a copy of #1005321
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005867 |
| Snippet name: | jTextField - with undo |
| Eternal ID of this version: | #1005867/7 |
| Text MD5: | 86936c3693a0265fb01c884dfc28ac01 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-02 17:58:46 |
| Source code size: | 371 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 958 / 989 |
| Version history: | 6 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1006694 - jtextfield - synonym of jTextField #1008619 - jtextfield_caretLeft - position caret at left (looks better) #1030818 - jPasswordField |