window + scala callback in App.java