WIP to add window management capabilities to java