IntelliJ Java IDE
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Mr.rahul congrats!! . pls. help me reg. JEditorPane Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "Mr.rahul congrats!! . pls. help me reg. JEditorPane" Watch "Mr.rahul congrats!! . pls. help me reg. JEditorPane" New topic
Author

Mr.rahul congrats!! . pls. help me reg. JEditorPane

shanmugam soundrapandian
Greenhorn

Joined: Sep 15, 2000
Posts: 17
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
 
Threads others viewed
HTMLEditorKit & Performance
HTML Content in a JPanel
Help me to solve these problems in JEditorPane
question about Help document
JEditorPane and JScrollPane
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture