Tag: jtextarea scrollbar

JTextArea Example Java Swing

April 2, 2013 · 2 min read
###### The limitation of [JTextField](http://way2java.com/swing/java-jtextfield-validation/) is that we can enter or display the text in one line only. This limitation is overcome with **JTextArea**. In **JTextArea**, we can enter or display any number of lines of text. We can make a text area not to be used by the user by using **setEditable(false)** method.