Internal Frames Question

Im working on a project with internal frames, but I have run into a little issue and was wondering if anyone knew what might have caused this. So I have a frame class that extends InternalFrame. Then in my main GUI I have a method that is createNewFrame(). This method adds a new internalFrame. The problem is when I try to add the second frame. The components on the first frame are removed and the second frame has double the components...then triple with the third frame and so on. Does anyone know why this is occurring?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!