Các nào giúp mình với mình nhấn vào nút cut mà nó ko đóng Frame là sao nhỉ
Đây là code
Cám ơn các bạn rất nhiều 

Đây là code
Code:
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
class FrameMain extends Frame implements ActionListener
{ Label l1 = new Label();
Button b1 = new Button("Bam vao day de hien ra mot Frame khac");
public FrameMain(String title)
{
super(title);
setLayout(new FlowLayout());
add(b1);
add(l1);
b1.addActionListener(this);
}
public static void main(String args[])
{
FrameMain t= new FrameMain("Button!");
t.setSize(300,200);
t.show();
}
public void actionPerformed(ActionEvent e) {
}
}
