• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting the value of an attribute

 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I can't get this to work. I have html data in a JTextPane. The user can make text bold, italic and so forth. If we view to source it looks like this



How can I check the value in the class=""? I can't get the mynormal and myfont6 with any of the methods in the Attribute class. Can someone lead me to the right direction?

here is my code so far. This in a ActionListener



// Mathias
[ December 19, 2005: Message edited by: Mathias Nilsson ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!