Uses 911K of libraries. Click here for Pure Java version (5554L/29K).
1 | !7 |
2 | |
3 | cmodule AutoMonitorSwitch > DynPrintLogAndEnabled { |
4 | start-thread { |
5 | dm_onTimeJumpAndNow(r { |
6 | sleepSeconds(3); |
7 | doIt(); |
8 | }); |
9 | } |
10 | |
11 | visual withCenteredButtons(super, "Do it now", r doIt); |
12 | |
13 | // API |
14 | |
15 | void doIt q { |
16 | linux_autoMonitorSwitch(); |
17 | } |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026209 |
Snippet name: | Switch To External/Internal Monitor After Resume |
Eternal ID of this version: | #1026209/4 |
Text MD5: | 3724f3639567884ad21b95a99efa4f2a |
Transpilation MD5: | 32b9e37ce63c0b381efbe6ac2da1d0f8 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-30 19:32:24 |
Source code size: | 295 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 224 / 6606 |
Version history: | 3 change(s) |
Referenced in: | [show references] |