Results 1 to 2 of 2
  1. #1
    iLegitus is offline Member
    Join Date
    Nov 2016
    Rep Power

    Post Changing Text of JTextArea(NETBEANS)

    So i've already made a textarea,i just need to know a reliable piece of code to be able to change the text within a textarea.
    Like,This is what i want to do but its incorrect :

    JTextAreaNameHere text = "Hi";

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: Changing Text of JTextArea(NETBEANS)

    Check the API documentation for the JTextArea.setText(String text) description.

    kind regards,

    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. Replies: 2
    Last Post: 06-02-2012, 10:51 PM
  2. Monitoring JTextArea for change and then changing it.
    By valdeEdius in forum AWT / Swing
    Replies: 5
    Last Post: 03-18-2012, 03:09 AM
  3. Swing - Changing text in JTextArea from void
    By Lawllerskates in forum New To Java
    Replies: 4
    Last Post: 02-18-2010, 05:37 PM
  4. Replies: 3
    Last Post: 01-23-2010, 02:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts