How can I display an HTML Button (<Input type=button name=...>) in JEditorPane? When we are using the above tag the JEditorPane just ignores this tag.

Sandip Chitale

Please see the following FAQ for info on how to add components -

http://www.jguru.com/jguru/faq/view.jsp?EID=301706

If you want to be able to parse and input tag and simple set the content type to "text/html" using (this started working since JDK1.3 I think) -

editorPane.setContentType("text/html");

Then set the correct HTML text.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact