Libraryless. Click here for Pure Java version (4550L/32K/120K).
1 | !7 |
2 | |
3 | p {
|
4 | JFrame frame = showFrame(new JTextArea); |
5 | for (int key = 1; key <= 12; key++) {
|
6 | final int _key = key; |
7 | registerFunctionKey(frame, key, r { print("F" + _key + "!"); });
|
8 | } |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
| ID | Author/Program | Comment | Date |
|---|---|---|---|
| 1253 | stefan | Works, but F11 means fullscreen on my system... lol | 2016-07-25 21:26:51 |
| Snippet ID: | #1003692 |
| Snippet name: | Test registerFunctionKey |
| Eternal ID of this version: | #1003692/2 |
| Text MD5: | b8b8f541954f330d06faf94da6a7a710 |
| Transpilation MD5: | 880a5c2e6cfbcef14783c572b00030b1 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-08 14:47:18 |
| Source code size: | 199 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1160 / 1239 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |