can anyone explain how these blocks of code works?
this code is working code. but i cant understand how the event handling is implemented in this code
forwardButton is an instance of JButton and the main container class doesnt implement ActionListerner interface
forwardButton.addActionListener(new ActionListener(){
public void actionPerformed( ActionEvent event )
{
URL url= webBrowserPane.forward();
urlTextField.setText(url.toString());
}
});