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: | 645 / 679 |
Version history: | 6 change(s) |
Referenced in: | [show references] |