Note: Not all layout managers respect the preferred size. Usually one does not set the size for the text area. Just wrap it in a JScrollPane and add the pane to the parent container. The scroll pane helps the user view/interact with the "hidden" text.
Also, do yourself a favor and drop the visual editor. You end up learning the editors than the actual coding. Search the forums to find many discussions on why editors are a bad idea.