Libraryless. Click here for Pure Java version (15530L/112K).
1 | !7 |
2 | |
3 | sclass LastRunPrograms extends DynModule {
|
4 | L<SS> result; |
5 | |
6 | transient JTable table; |
7 | transient ReliableSingleThread rst = new(r update); |
8 | |
9 | JComponent visualize() {
|
10 | ret table = lastRunTable_addRunAction(uneditableTableWithData(result)); |
11 | } |
12 | void unvisualize() { table = null; }
|
13 | |
14 | void start {
|
15 | ownTimer(tailFile_future(programFile(#1000825, "run.log"), 1000, rst).timer); |
16 | rst.trigger(); |
17 | } |
18 | |
19 | void update {
|
20 | result = lastRunTable_update(table); |
21 | } |
22 | } |
Began life as a copy of #1015869
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: | #1015907 |
| Snippet name: | Last Run Programs [DynModule] |
| Eternal ID of this version: | #1015907/7 |
| Text MD5: | 158f5777f53a8a3185f2115b9cb75e47 |
| Transpilation MD5: | 50063494bcba03ef8bb23e0b08a072aa |
| Author: | stefan |
| Category: | |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-10 20:35:49 |
| Source code size: | 504 bytes / 22 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 604 / 723 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |