combine multiple windows  to a single window
===

I am developing an application which  have the following windows 

![Login Form](http://codes-at-igit.weebly.com/uploads/1/2/2/7/12272842/loginform.jpg)
![Enter The Information](http://codes-at-igit.weebly.com/uploads/1/2/2/7/12272842/entertheinfosecondwindow.jpg)
![Optimal travel Route](http://codes-at-igit.weebly.com/uploads/1/2/2/7/12272842/otr.jpg)

If the information entered in the windows are correct than only the user will be prompted with the windows in the above sequence. Now the customer has demanded me with this user interface.

![New UI](http://codes-at-igit.weebly.com/uploads/1/2/2/7/12272842/optimroute.jpg)

Now I have to add all these windows in the last window format, with the specification's as the user will be allowed in the 2nd portion of the last image if the first information entered is correct.And the user when launches this app see the last image and can change the values as any time in the respective portions of the last window.
I have coded it in Swing Java.I am new to Java. I am working in Netbeans 7.1.2 I have three files as
1)Login.java 
-containing my LoginDemo class which have main and form object of extended Jframe class
-Login class extending J frame and implementing action listener(this class creates an J frame of next file Enter the information.
2)Algorithm.java
creates new J frame object of next file if information is correct.
3)TravellingSalesmanProblem.java
gives the output as shown in Optimal Travel Route window.
I am accessing the information using REST call to a website.
So can anyone help me in this?
