I have a main JFrame which link to another JFrame in purpose,
lets assume main frame is M and child frame is C, when i click on M a JFrame C opens successfully and here i have added setAlwaysOnTop(true) method to C JFrame. Good every thing is working fine.
But when my C JFrame is on top i don't want my M JFrame actions work unless C JFrame is closed.
This seem to be little awkward and silly question. but please do answer