Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

edit an html fil loaded in a JEditorPane...

Gabriele Gigliotti
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!
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic