I am making a chat application in which I am facing few problems
1. I am using frames allover the application. When the user login into his account, the friend list of user gets displayed on a new frame whereas I want to erase the contents of login frame and display list of friends on the same frame. How to achieve this?? I have used the following statement to achieve this but it is not working.
2. When I closes the chat window of a particular user all the windows opened in cascade and hence client gets closed.
Sorry but I think this problem is not related with layouts from any angle.
1. My first problem is the client gets automatically closed when I close the chat window of a particular client.
2. My second problem is that I am not able to display the list of friends on the login window if the client successfully login. The list of friends gets displayed on a separate window.
I cannot understand what these problems have to do with layouts. Please explain me in detail where and why you are suggesting me to use card layout
> Sorry but I think this problem is not related with layouts from any angle.
> I cannot understand what these problems have to do with layouts.
> Please explain me in detail where and why you are suggesting me to use card layout
better for you to have a look at the cardlayout tutorial - it does sound ideally suited to your description
And then we all jump out and yell "surprise! we got you this tiny ad!"