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


< > BotCompany Repo | #1003445 - swingAndWait - (almost) same as invokeAndWait

JavaX fragment (include)

static void swingAndWait(Runnable r) ctex {
  if (isAWTThread());

static O swingAndWait(final O f) {
  if (isAWTThread())
    ret callF(f);
  else {
    final new Var result;
    swingAndWait(r {
    ret result.get();

download  show line numbers  debug dex  old transpilations   

Travelled to 24 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, ekrmjmnbrukm, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, uelavcdoioby, vouqrxazstgt, whxojlpjdney, wtqryiryparv, xrpafgyirdlv, yanjaxplzisb

No comments. add comment

Snippet ID: #1003445
Snippet name: swingAndWait - (almost) same as invokeAndWait
Eternal ID of this version: #1003445/2
Text MD5: 0fa1a28f96d24c727daadb73e113202e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-26 14:23:36
Source code size: 356 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 473 / 1317
Version history: 1 change(s)
Referenced in: [show references]