Results 1 to 3 of 3
  1. #1
    javanew is offline Member
    Join Date
    Mar 2010
    Rep Power

    Default JTextArea problem

    if i want to show a message in the text area ?? how to make it...
    i am in class Inventory , and for example i want to write a message welcome in the text area that id declared in another class ,,

    --------Class Invenrtory ------------
    for example in class Inventory
    Java Code:
    area.setText("Welcome") << cant find area  //?????????
    here the problem with area,, cant be recognized... do i have to make import or something ?? how to make it plz help !!

    ------Class Graphics----------
    because area is declared in another class called Graphics...
    Java Code:
    JTextArea area = new JTextArea();

  2. #2
    Sno's Avatar
    Sno is offline Senior Member
    Join Date
    Apr 2010
    Rep Power


    We are discussing your answer in your first thread...
    :rolleyes: ~ Sno ~ :rolleyes:
    '-~ B.S. Computer Science ~-'

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power


    javanew, please don't multipost the same question in the forum. One post is enough. I'm locking this thread.

    Thank you.

Similar Threads

  1. Replies: 12
    Last Post: 10-09-2009, 06:26 AM
  2. jfilechooser and jtextarea problem
    By kostinio in forum AWT / Swing
    Replies: 7
    Last Post: 10-07-2009, 08:46 AM
  3. Replies: 17
    Last Post: 07-13-2009, 05:44 AM
  4. Jtextarea Content Display Problem
    By REVANSIDDHA in forum Advanced Java
    Replies: 1
    Last Post: 03-31-2009, 06:53 PM
  5. Replies: 0
    Last Post: 07-17-2007, 03:30 PM

Posting Permissions

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