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 ]
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 ]