Download Jar. Uses 3874K of libraries. Click here for Pure Java version (8692L/62K).
!7 // Show programs with data as nice buttons p-noconsole { autoRestart(); defaultFrameIcon(#1101233); L<S> ids = programsWithData(); final SS programNames = getSnippetTitles_cached(ids); showNiceButtons_higher( printLength(map(ids, func(fS progID) -> TextImageAction { TextImageAction(programNames.get(progID), #1101229, r-thread { showProgramDir(progID) }) }))); } svoid showProgramDir(S progID) { File[] files = listFiles(programDir(progID)); moveFrameUp(50, frameIcon(#1101234, frameTitle("Files of: " + getSnippetTitle_cached(progID) + " [" + progID + "]", showNiceButtons_higher( map(files, func(final File f) -> TextImageAction { TextImageAction(f.getName(), #1101231, r-thread { genericUI_openFile(f) }) }))))); }
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: | 529 / 1472 |
Version history: | 18 change(s) |
Referenced in: | #1015096 - Test showTextHighlightingLine (OK) #1022150 - Programs With Data [Dyn Module] #3000526 - Smart Bot's answer to: !fresh latestPrograms() |