0
什么是使用java查看html(来自url或文件)的最佳方式?我曾尝试使用flyingsaucer。失败。然后我转到JEditorPane。失败。然后我尝试lobo。失败。有人会建议我别的东西什么是通过java显示html的最佳方式
什么是使用java查看html(来自url或文件)的最佳方式?我曾尝试使用flyingsaucer。失败。然后我转到JEditorPane。失败。然后我尝试lobo。失败。有人会建议我别的东西什么是通过java显示html的最佳方式
如果你只想在java swing中显示html文件,可以考虑oracle的java swing tutorial。请查看code关于如何通过方法createEditorPane()
读取文件。我也发现这link您可能想要尝试的其他库。
thanx。我会在接受你的答案之前尝试 – Dagon
你对'JEditorPane'有什么问题? – higuaro
检查[this](http://stackoverflow.com/questions/145863/best-java-swing-browser-component) – higuaro
thanx。我会试试 – Dagon