Mr.rahul congrats!! . pls. help me reg. JEditorPane
shanmugam soundrapandian
Greenhorn
Joined: Sep 15, 2000
Posts: 17
posted
0
dear rahul and friends i want to implement help menu for on-line user documentation. i made a html doc and i want to call this html page through JEditorPane.it does not appear while window opens, after resizing two or three times it appears. pls. write me good solution for this. pls if you have any other idea to display the doc, let me know. here the code <code> public class Help extends JFrame { public Help() { String s="file:///e:/obj140.htm"; Container cs = getContentPane(); JEditorPane editorPane=null; try { editorPane=new JEditorPane(s); editorPane.setEditable(false); } catch(Exception e) { System.out.println("exception"+e); } JScrollPane editorSPane = new JScrollPane(editorPane); cs.add(editorSPane); repaint(); } } </code> awaiting your reply regards soundar
subject: Mr.rahul congrats!! . pls. help me reg. JEditorPane