Java program

I am having a problem getting my buttonCommand to work. What is the method I am supposed to use? Do I use both getNumbersFromTextArea and computeMean. Because computeMean is an array I cannot get it to compile in my program.

Any help would be appreciated


it would be better if you could use the string tokenizer,
to check out for new line when ever it occurs,push the number into an array or vector, then it could be easier for you to calculate the mean.,
hope this way could serve your purpose