Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.0
    • Component/s: Util
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      333

      Description

      When targeting my Swing application to Linux, I need to make several
      Linux-specific tweaks. Thus, an OS.isLinux() would be handy:

      boolean osIsLinux = os.indexOf("linux") != -1;

      /**

      • @return true if this VM is running on a Linux distribution
        */
        public static boolean isLinux() { return osIsLinux; }

        Activity

        Hide
        rbair added a comment -

        committed to trunk.

        Show
        rbair added a comment - committed to trunk.

          People

          • Assignee:
            rbair
            Reporter:
            neilweber
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: