The SWT class contains a repository of class-level constants and methods to simplify SWT programming.
import org.eclipse.swt.SWT; public class UsingSWTGettingPaltFormVersion { public static void main(String[] args) { System.out.println(SWT.getPlatform()); System.out.println(SWT.getVersion()); } }
win32 3138