// action: voidfunc(JTextComponent) static JButton textActionButton(S text, fO action) { ret new JButton(new TextAction(text) { public void actionPerformed(ActionEvent e) { pcallF(action, getFocusedComponent()); } }); }
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: | #1008700 |
Snippet name: | textActionButton |
Eternal ID of this version: | #1008700/1 |
Text MD5: | 29be2f12e70d47b98cec7bec0f5a1ee7 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-29 00:25:08 |
Source code size: | 244 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 460 / 518 |
Referenced in: | [show references] |