Moving markup to a JLayout