Size issues fixed for the JFrames