Would you like please explain to me what does this line mean :

for(theFrame = getParent(); !(theFrame instanceof Frame) && theFrame != null; theFrame = ((Component)theFrame).getParent());



Thanks