Hi, i want to call frame B from Frame A

 private void BFrameBActionPerformed(java.awt.event.ActionEvent evt) {
Frame B = new Frame

NOTE :calling JframeB is trigerred by a jButton
but when I do this FrameA overlays my Frame B. can someone help me with this?

You could try calling requestFocus for window B to bring it to the front. Details are in the API doc as always.

should work perfectly. but I would advice to use JFrame's instead of Frame's.

@stultuske :D you are right it does work. I wonder why it looks like that earlier when it's ok now .. but anyway thank you for all the reply :))