Download Jar. Uses 3874K of libraries. Click here for Pure Java version (8692L/62K).
1 | !7 |
2 | |
3 | // Show programs with data as nice buttons |
4 | |
5 | p-noconsole { |
6 | autoRestart(); |
7 | defaultFrameIcon(#1101233); |
8 | L<S> ids = programsWithData(); |
9 | final SS programNames = getSnippetTitles_cached(ids); |
10 | showNiceButtons_higher( |
11 | printLength(map(ids, func(fS progID) -> TextImageAction { |
12 | TextImageAction(programNames.get(progID), #1101229, r-thread { showProgramDir(progID) }) |
13 | }))); |
14 | } |
15 | |
16 | svoid showProgramDir(S progID) { |
17 | File[] files = listFiles(programDir(progID)); |
18 | moveFrameUp(50, frameIcon(#1101234, frameTitle("Files of: " + getSnippetTitle_cached(progID) + " [" + progID + "]", showNiceButtons_higher( |
19 | map(files, func(final File f) -> TextImageAction { |
20 | TextImageAction(f.getName(), #1101231, r-thread { genericUI_openFile(f) }) |
21 | }))))); |
22 | } |
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: | #1015085 |
Snippet name: | Data Programs |
Eternal ID of this version: | #1015085/19 |
Text MD5: | aa37ce57be57a4ce31b09fab2f0889fe |
Transpilation MD5: | ab9b614ef40baaec78ea00c144937bc6 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-13 13:30:53 |
Source code size: | 787 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 530 / 1473 |
Version history: | 18 change(s) |
Referenced in: | [show references] |