# JInternalFrame Z-Order Behaviour

I am a my wit's end over the placement of JInternalFrame in the z-order.

I have 2 JInternalFrames that span the width and height of the JDesktop therefore I will have just 1 visible at any given time, hence that one will be in the number 1 position of the z-order.

int j gives me the 1 position in the z-order. The problem is that the code is not reading the position of the frames correctly where I have k = this.getComponentZOrder(inner_Fr); should work if k is not equal to j which is the desired z-order.

Please help !!

I have 2 JInternalFrames that span the width and height of the JDesktop therefore I will have just 1 visible at any given time, hence that one will be in the number 1 position of the z-order.

int j gives me the 1 position in the z-order. The problem is that the code is not reading the position of the frames correctly where I have k = this.getComponentZOrder(inner_Fr); should work if k is not equal to j which is the desired z-order.

Please help !!