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

11
LINES

< > BotCompany Repo | #1006154 // shootScreenHidingConsole

JavaX fragment (include)

static int shootScreenHidingConsole_delay = 200;

static BufferedImage shootScreenHidingConsole() ctex {
  try {
    minimizeConsole();
    Thread.sleep(shootScreenHidingConsole_delay);
    ret (BufferedImage) swingAndWait(f shootScreen2);
  } finally {
    restoreConsole();
  }
}

Author comment

Began life as a copy of #1006123

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006154
Snippet name: shootScreenHidingConsole
Eternal ID of this version: #1006154/1
Text MD5: 7209ada01f6d8a3deeb1b3f1b8e5b320
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-01 20:24:13
Source code size: 291 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 506 / 529
Referenced in: [show references]