i ve a frame and added two panels in that i want to disable the main frame when i click the buttons in my second panel..
hw to do