I displayed webpage on JEditorPane, but it is getting message as “Your web browser must have JavaScript enabled in order for this application to display correctly.“

Below is code
import java.io.IOException;
import javax.swing.JEditorPane;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
public class EricPage {
public EricPage() {
}
public static void main(String[] args) {
JEditorPane jep = new JEditorPane();
jep.setEditable(false);
try {
jep.setPage("http://corp.netsapiens.com");
}
catch (IOException e) {
jep.setContentType("text/html");
jep.setText("<html>Could not load Web Site");
}
JScrollPane scrollPane = new JScrollPane(jep);
JFrame f = new JFrame("Display WebPage");
// Next line requires Java 1.3
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.getContentPane().add(scrollPane);
f.setSize(512, 342);
f.show();
}
}
Please let me know how to resolve
JEditorPane renders only basic HTML and CSS (HTML 3.2). It does not support JavaScript. See HTMLEditorKit for details.