JButton button=new JButton("Close Window");
button.setBounds(40,50,100,30);
button.addActionListener(new ActionListener() {
public void ______________(ActionEvent e) {
dispose();
}
});
What method should go into the space?
JButton button=new JButton("Close Window");
button.setBounds(40,50,100,30);
button.addActionListener(new ActionListener() {
public void ______________(ActionEvent e) {
dispose();
}
});
What method should go into the space?
Create a free account to access the full topic