JEditorPane and multiple fonts
843806May 25 2008 — edited May 25 2008Hello. and thanks for reading me !!!
i have a problem trying to use JEditorPane, i am making the html i want him to work but i need it to use multiple tipe of fonts, for example here is a type of the html:
<body bgcolor="#FFFFFF"><div style="width:400px; ">
<p style="text-align:left; ">
<font style="letter-spacing: 0px; color: #0B333C; font-size: 100px; font-family: Verdana; "/>
</p>
<p style="text-align:left; ">
<font style="letter-spacing: 0px; color: #0B333C; font-size: 30px; font-family: Arial; ">Enter text here. Double click to edit </font><br>
<font style="letter-spacing: 0px; color: #0B333C; font-size: 30px; font-family: Times; ">Enter text here. Double click to edit </font>
</p>
<p style="text-align:left; ">
<font style="letter-spacing: 0px; color: #0B333C; font-size: 5px; font-family: Verdana; "/>
</p>
</div>
</body>
when i charge this in the JEdirtorPane he only use one type of fonts, ther is a way to make him use all the fonts that exist in the html? thanks for reading