I have the jButton1 private member of JFrame and i wanted to close the frame when the button is clicked.
jButton1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
{
}
});
I wanted to do super.close() but could not find close for super. Is there some way to refer to the JFrame