Libraryless. Click here for Pure Java version (9207L/51K).
1 | static Dimension getScreenSize() { |
2 | return Toolkit.getDefaultToolkit().getScreenSize(); |
3 | } |
4 | |
5 | static Dimension getScreenSize(int iScreen) { |
6 | ret toDimension(screenBounds(iScreen).widthAndHeight()); |
7 | } |
Began life as a copy of #1001347
download show line numbers debug dex old transpilations
Travelled to 20 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, hpgrupgrauku, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, odhhsrjjbcgr, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, rjpzpeejafvs, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1001433 |
Snippet name: | getScreenSize |
Eternal ID of this version: | #1001433/2 |
Text MD5: | 54c5ffcd81aaccca79821cd2875a96ab |
Transpilation MD5: | f2597156e3bed6fb795e95c42b464b37 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-26 21:47:25 |
Source code size: | 204 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 691 / 1648 |
Version history: | 1 change(s) |
Referenced in: | [show references] |