![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e994. Displaying Simple HTML Filestry { String url = "http://java.sun.com"; JEditorPane editorPane = new JEditorPane(url); editorPane.setEditable(false); JFrame frame = new JFrame(); frame.getContentPane().add(editorPane, BorderLayout.CENTER); frame.setSize(width, height); frame.setVisible(true); } catch (IOException e) { }
© 2002 Addison-Wesley. |