Extension. scrollbar-width controls width of scrollbar, with only two options available being auto or thin. < lightning: textarea value = " initial value " label = " What are you thinking about? " how do i get rid of the vertical scrollbar in textarea? textArea = new JTextArea(text.toString()); jScrollPane = new JScrollPane(textArea, JScrollPane.VERTICAL_SCROLLBAR_NEVER, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); getContentPane().add(jScrollPane); } public static void main(String args[]) { SwingUtilities.invokeLater(new Runnable() { @Override; The solution is simple; you need to make it visible permanently. Use this online HTML editor to write HTML, CSS and JavaScript code and view the result in your browser. ; rows and cols attributes to allow you to specify an exact size for the