I am doing a project and need to create a chat client. I have created the friend list and on double click on friend in the list a new chat window should be displayed. The chat window i want to design has a Jtextpane
(for the conversation), Jtextarea(user input) and a send button. I have used GUI in netbeans to create the new window.
I make the chatwindow visible on clicking the friend from the friend list but i am not sure how i will instantiate another window which i click on another friend from my friend list.