Adding the below code to my application results in an error message "Unknown Host Exception ". Supposedly JEditorPane can be used to display a web page within the application.
what to do ?
Stan
dominskis@aol.com
.
.
.
JEditorPane myEp = new JEditorPane();
myEp.setPage("myEp.setPreferredSize(new Dimension(400,200) );
myEp.setEditable(false);
content.add(myEp);
myFrame.pack();
myFrame.setVisible(true);
.
.
.
.