Use a GridBagLayout to fix resize issues.