Yes Greg! I got it now!
What I did is the following:
jTextArea.setText(myArrayList.toString());
Works like a charm :)>-
Thank you!
Type: Posts; User: Prog
Yes Greg! I got it now!
What I did is the following:
jTextArea.setText(myArrayList.toString());
Works like a charm :)>-
Thank you!
Class objects
ArrayList<MyClass> = new ArrayList();
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....