added JoglNewtWindow support