-3

What is the basic difference between jTextArea.setText() and jTextArea.append() methods from examination point of view?

Mureinik
  • 297,002
  • 52
  • 306
  • 350
  • 2
    What's the basic difference between checking the documentation and asking something on SO that could easily be determined from the documentation? -1 – Andrew Thompson Dec 27 '16 at 08:20
  • I'm voting to close this question as off-topic because the answer is easily determined by reading the documentation. – Andrew Thompson Dec 27 '16 at 08:20

1 Answers1

2

setText replaces the text in the text area. append adds a string to the end of the existing text.

Mureinik
  • 297,002
  • 52
  • 306
  • 350