I have 2 threads (i think) on Swing, so i thought i might as well put all my Swings questions into 1 thread.. (sorry moderators for the extra threads)

I have read Absolute Java by Walter Savitch, but his chapters on Swing and GUI are very basic and the googling my queries did not help, so heres the situation...

I have created an application to solve the travelling salesman problem using breadth first search. Now i want to create a GUI for it..i understand how to create a basic GUI, with buttons panels frames etc...but there is still more i need to know...

How do i transfer all the outputs that was previously sent to dos prompt into my GUI?