dear sir/madam, in case of writting a programe in frame,at the running time a frame will come but it doesnot close the frame window.for closing the frame i use the method public void windowClosing(WindowEvent we){ dispose();} but it not working. please send me the details to my mail id.. thank you