problem in repaint the frame
i am building a program in swing
i have some buttons with an icon on it
some buttons lunch a window or a dialog or even a frame
but when i colse this frame or windw or dialog the buttons on original frame sabotaged
please help me
how can make my frame repainted automatically ?