Make Java GUIs work.