use swt as a fallback if fx does not work