如何显示url中的内容?就象ie一样,在appl中,调用默认浏览器也行 JEditorPane getJEditorPane() {
if (jEditorPane == null) {
jEditorPane = new JEditorPane();
jEditorPane.setBounds(376, 50, 139, 154);
try {
jEditorPane.setPage("http:\\www.csdn.net");
} catch (IOException e) {
// TODO 自动生成 catch 块
e.printStackTrace();
}
}
return jEditorPane;
}
这鸟就会显示些代码~
不能解析