hmm. looks like you're opening frame2, but not preventing it from opening when one version of frame2 is already open. f.show() should display frame2, but where does it say in the code that it should not be displayed once there's already a frame2 open?
btw - can you post the exact errors you're getting, and the code for the method call?
|