Download Jar. Libraryless. Click here for Pure Java version (6296L/41K).
1 | !7 |
2 | |
3 | p { |
4 | Rectangle r = maxWindowBounds(); |
5 | int w = 400, h = 300; |
6 | setWindowBounds(r.x+r.width+100, r.y, w, h, showFrame("Frame 1")); |
7 | setWindowBounds(r.x-w-100, r.y, w, h, showFrame("Frame 2")); |
8 | setWindowBounds(r.x, r.y+r.height+100, w, h, showFrame("Frame 3")); |
9 | setWindowBounds(r.x, r.y-h-100, w, h, showFrame("Frame 4")); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014836 |
Snippet name: | Test putting windows outside of screen |
Eternal ID of this version: | #1014836/1 |
Text MD5: | 427a10c9f6fad896a97c2e1aefac5247 |
Transpilation MD5: | 7887917be9c31547298977c44144c646 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-04 11:55:29 |
Source code size: | 342 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 486 / 1008 |
Referenced in: | [show references] |