We can also use org.openide.util.Utilities class ;)
e.g. 
- Utilities.isWindows();
- Utilities.isMac();
- Utilities.isUnix();