Add an empty border to JTextArea: 

    myTextArea.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));