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

11
LINES

< > BotCompany Repo | #1006154 // shootScreenHidingConsole

JavaX fragment (include)

1  
static int shootScreenHidingConsole_delay = 200;
2  
3  
static BufferedImage shootScreenHidingConsole() ctex {
4  
  try {
5  
    minimizeConsole();
6  
    Thread.sleep(shootScreenHidingConsole_delay);
7  
    ret (BufferedImage) swingAndWait(f shootScreen2);
8  
  } finally {
9  
    restoreConsole();
10  
  }
11  
}

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: 510 / 533
Referenced in: [show references]