JTextArea: append(String str) : JTextArea « javax.swing « Java by API
- Java by API
- javax.swing
- JTextArea
JTextArea: append(String str)
import javax.swing.JTextArea;
public class Main {
public static void main(String[] argv) {
JTextArea ta = new JTextArea("Initial Text");
ta.append("some text");
}
}
Related examples in the same category