Search:

Type: Posts; User: Prog

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    5,784

    Re: How to display ArrayList in jTextArea?

    Yes Greg! I got it now!
    What I did is the following:

    jTextArea.setText(myArrayList.toString());

    Works like a charm :)>-

    Thank you!
  2. Replies
    8
    Views
    5,784

    Re: How to display ArrayList in jTextArea?

    Class objects
    ArrayList<MyClass> = new ArrayList();
  3. Replies
    8
    Views
    5,784

    How to display ArrayList in jTextArea?

    Hello,

    I want to display my ArrayList in the text area like this:

    jTextArea.setText(myArrayList);

    But it gives me an error, because it can only set Strings, and my ArrayList is not a String....
Results 1 to 3 of 3