Libraryless. Click here for Pure Java version (14687L/101K).
1 | !7 |
2 | |
3 | sclass InputReverser extends DynTextArea { |
4 | InputChooser inputChooser = new(this); |
5 | |
6 | JComponent visualize() { |
7 | ret northAndCenter(wrap(inputChooser), super.visualize()); |
8 | } |
9 | |
10 | void update { |
11 | if (inputChooser.update()) |
12 | setText(reversed(inputChooser.input())); |
13 | } |
14 | } |
Began life as a copy of #1016448
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016451 |
Snippet name: | Input Reverser v2 (OK, with input choice) |
Eternal ID of this version: | #1016451/4 |
Text MD5: | 5163bd51f88182edf5fba4d3ff7b6423 |
Transpilation MD5: | 8cbb9ad5435bae9d45939040fb414e20 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-18 19:02:52 |
Source code size: | 298 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 452 / 839 |
Version history: | 3 change(s) |
Referenced in: | [show references] |