谢谢了。

解决方案 »

  1.   

    使用JTextPane试试。。http://www.google.com/search?hl=zh-CN&newwindow=1&q=JTextPane%E6%98%BE%E7%A4%BA%E7%BD%91%E9%A1%B5&btnG=%E6%90%9C%E7%B4%A2&lr=lang_zh-CN
      

  2.   

    JTextPane应试比较适合吧,但没实际过看你的意思好像还涉及到net包,更用得少了,顶
      

  3.   

    import javax.swing.*;
    import java.net.*;public class ShowPage {
      public static void main(String args[]) {
        JTextPane tp = new JTextPane();
        JScrollPane js = new JScrollPane();
        js.getViewport().add(tp);
        JFrame jf = new JFrame();
        jf.getContentPane().add(js);
        jf.pack();
        jf.setSize(400, 500);
        jf.setVisible(true);    try {
          URL url = new URL(
              "http://tramp.nease.net");
          tp.setPage(url);
        }
        catch (Exception e) {
          e.printStackTrace();
        }
      }
    }
    只能显示网页,虚浏览器
      

  4.   

    jdic,我找了很久,jni技术,java调用ie