port swt-realtime to scala