Hi everyone, I am trying to build a program that will estimate download time for a given file size and internet speed. user will use a simple GUI interface with two text field (to input filesize and net speed) and a button labeled calculate that will show the estimated download time in a textarea just below the calculate button.
I have three classes calculation class for calculation, gui class for user interface and of course the main class.
after calculation I have stored the result (i.e. day hour minutes and seconds) in a ArrayList with string type.
problem is Jtextarea won't allow me to print an arraylist with its setText() method. I am new to java programming and I have been stuck for the last two days with this problem. my program would be complete if it were not for this type conversion problem.