You can consider to use GridBagLayout

immutable objects