JTextArea Example Java Swing

The limitation of JTextField 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. Like class …

JTextArea Example Java Swing Read More »