Hello, basically i have a text field and a JEditorPane.What i want is to input an address in the text field and make the web page come up in the JEditorPane.I have this code so far(tfAddress is the variable name for the textfield).
tfAddress.addActionListener(new ActionListener()) {
public void ActionPerformed(ActionEvent ae){ //does something when enter is pressed
field.getText()
}
}
How can i make the JEditorPane display the page?(you can probably understand that am not very good with java yet as this is probably a bit of a silly question)
Thanks to everyone who helps with this.