sS ai_saySomethingAboutScreenSize() { if (headless()) ret "We're headless."; Dimension d = screenSize(); ret "Your screen size is " + d.getWidth() + "*" + d.getHeight() + " pixels"; }
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: | #1016137 | 
| Snippet name: | ai_saySomethingAboutScreenSize | 
| Eternal ID of this version: | #1016137/1 | 
| Text MD5: | 05e0c3580f2d8609e52223adcc9c0340 | 
| Author: | stefan | 
| Category: | javax / os | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-06-06 21:06:39 | 
| Source code size: | 193 bytes / 5 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 656 / 681 | 
| Referenced in: | [show references] |