Finally got GridBagLayout correct for InputWindow.