Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1008613 // Test "unswing {" [WORKS]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 3874K of libraries. Click here for Pure Java version (2236L/15K/58K).

1  
!7
2  
3  
p-substance {
4  
  unswing { // drop out of Swing thread
5  
    assertNotOnAWTThread();
6  
    print("Sleeping for 5...");
7  
    sleepSeconds(5);
8  
  }
9  
  // ...and back we are
10  
  assertAWT();
11  
  showFrame("Here's a frame!");
12  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008613
Snippet name: Test "unswing {" [WORKS]
Eternal ID of this version: #1008613/3
Text MD5: 8661863ff86315af00f71aaba9de0fb5
Transpilation MD5: c6f910d736fdd65ed7eb2169c0073b21
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-25 19:35:17
Source code size: 226 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 513 / 645
Version history: 2 change(s)
Referenced in: [show references]