Can you explain?
For example, I created a file that started with non html text and imbedded in it some html. I opened the file in a browser and the browser displayed ....
Type: Posts; User: Norm
Can you explain?
For example, I created a file that started with non html text and imbedded in it some html. I opened the file in a browser and the browser displayed ....
What would a browser do when it reads that type of file?
What if you wanted to see the HTML text vs having it formatted?
After looking at the API doc for the JEditorPane for a bit I tried this:
JEditorPane jep = new JEditorPane();
jep.setContentType("text/html");
jep.setText("<H1>an H1...
What have you found when you search for JEditorPane code examples?