I am making my project using netbeans 6.5. I want to open different frames in the same parent frame, But I am unable to do so. For e.g. my first frame is a login page. After Logging in the 2nd frame is displayed. But I want to display the 2nd frame in parent frame itself...pls help me.

Create panel with different content and just swap them in main frame.

hey thanx 4 ur reply. But I want to crreate separate forms for each window and then call those forms on action events of a button. I can create panels with different content then all the coding will required to be done in same form. Pls help me wid this...
thankyou.

What is the point in creating multiple frames when you can simply change content and actual parameters of single frame as need it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.