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).

!7

p-substance {
  unswing { // drop out of Swing thread
    assertNotOnAWTThread();
    print("Sleeping for 5...");
    sleepSeconds(5);
  }
  // ...and back we are
  assertAWT();
  showFrame("Here's a frame!");
}

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: 512 / 642
Version history: 2 change(s)
Referenced in: [show references]