Libraryless. Click here for Pure Java version (14392L/100K).
1 | !7 |
2 | |
3 | sclass SleepingThreadsDump extends DynModule { |
4 | S result; |
5 | transient JTextArea textArea; |
6 | |
7 | JComponent visualize() { |
8 | ret northAndCenterWithMargins( |
9 | jbutton("Do it", rThread doIt), |
10 | textArea = typeWriterTextArea("Results will go here")); |
11 | } |
12 | |
13 | void doIt { |
14 | temp enter(); |
15 | setTextCaret0(textArea, renderSleepingThreadsWithStackTraces()); |
16 | } |
17 | } |
Began life as a copy of #1016416
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: | #1016695 |
Snippet name: | Sleeping Threads Dump [Dyn Module] |
Eternal ID of this version: | #1016695/3 |
Text MD5: | e092fde207dec121ae1ae8f62050ada7 |
Transpilation MD5: | 9b31f52e7f13205f87a1608c871b196d |
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-28 12:54:30 |
Source code size: | 387 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 427 / 1660 |
Version history: | 2 change(s) |
Referenced in: | [show references] |