I have made a java GUI program and have added a jList on that GUI so as to print output of the program on that jList by adding an item by calling