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

11
LINES

< > BotCompany Repo | #1006172 // Test shootWindow2

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

Libraryless. Click here for Pure Java version (4182L/28K/98K).

1  
!752
2  
3  
p {
4  
  JFrame f1 = showFrame("Yo yo yo", jCenteredLabel("Hello!"));
5  
  JFrame f2 = showFrame("Another one", jcenterimage("#1006117"));
6  
  moveFrameRightAndDown(f2, 20);
7  
  BufferedImage img1 = shootWindow2(f1);
8  
  BufferedImage img2 = shootWindow2(f2);
9  
  moveFrameLeft(showImage(img1), f1.getWidth()+20);
10  
  showImage(img2);
11  
}

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: #1006172
Snippet name: Test shootWindow2
Eternal ID of this version: #1006172/1
Text MD5: d93a4220daeac9cea5bbafe6cbb5ef91
Transpilation MD5: e7d099eb98c7912f1b2f55ee782f3395
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-22 12:47:40
Source code size: 336 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 537 / 641
Referenced in: [show references]