• Post Reply Bookmark Topic Watch Topic
  • New Topic

edit an html fil loaded in a JEditorPane...  RSS feed

 
Gabriele Gigliotti
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I'm new in this newsgroup. I hope this is the right place for my question...
I'm tryng to create an html editor with very simple features (set a word in bold, set alignment of a paragraph...).
I was able to load my html file in JEditorPane, i set setEditable to true so I can input characters in... but... how can I insert tags? How can i mark a word as bold for example? WHat is the method and what is the class involved in this operation? How can i use it to complete this task?
Thanks for your kind attention and forgive me for my bad English!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!