Hi, i am creating a swing gui and i need to be able to display the return of a function within the gui
when i call the function the result e.g. System.out.println etc is displayed in the console window, i need what is displayed in the console to be visible in the GUI.
what component can i use to do this,
I tried using a Jlabel and setting the labels text to the system.out.println statements but it dosnt work.
Thanks