A Java class for returning system properties, setting the Mac menubar title/dock icon, and more!
Drop the .java wherever you please. Be sure to include package with the parent package.
Detects if the OS is Windows.
Detects if the OS is Mac OS X.
Detects if the OS is Linux-based.
This is the most complicated method I included. More information on this will come soon.
public static void main(String[] args) {
System.out.println(OSUtils.isWindows()); // will return true or false
}