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

20
LINES

< > BotCompany Repo | #1001464 // OS Sensor

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

Libraryless. Click here for Pure Java version (1201L/9K/27K).

!747

!1000805 // awt
!image classes

m {
  !include #1001425 // ShowBigText
  
  p {
    new ShowBigText sbt;
    sbt.title = "OS Sensor";
    sbt.showText(getOS() + "!");
  }
  
  static S getOS() {
    if (isAndroid()) ret "Android";
    if (isMac()) ret "Mac OS";
    if (isWindows()) ret "Windows";
    ret "Linux"; // Everything else is Linux... Yeah it's generous :)
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, dhtvkmknsjym, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001464
Snippet name: OS Sensor
Eternal ID of this version: #1001464/1
Text MD5: 2b63b60b11f1b166f651434d47da23a5
Transpilation MD5: c8725f136f95eb600e1b87710ffea4ba
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-17 02:07:21
Source code size: 397 bytes / 20 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 604 / 841
Referenced in: [show references]