|
You should be writing initialPage = url in the listener that the Go button is registered to. There is actually no such listener in the code, you will have to write that yourself.
class backButtonListener implements ActionListener {
}
That handles the back button, you will want to create your go button listener in a similar way as the backButtonListener class.
backButton.addActionListener(new backButtonListener(jep, backButton, history, label));
That line registers the back button to the backButtonListener class, you will have to do a similar thing with the go button.
|