Report question

Question: How do i find if a window is opened on swing