>>420
インスタンスを破棄しては、どうですか。
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class tesuto extends JFrame{
private static boolean b = true;
private static tesuto t;
public static void main(String args[]){


t =new tesuto();
t.setVisible(true);
}
tesuto(){
setBounds(10,10,200,200);

JButton j = new JButton("cc");
Container c=getContentPane();
c.add(j);
j.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
t.setVisible(false);
b = false;
t=null;
//t.setVisible(true);

}
});
}

}