Results 1 to 1 of 1
Thread: XML + XSL in JTextpane
- 03-10-2011, 03:51 PM #1Member
- Join Date
- Mar 2011
- Rep Power
XML + XSL in JTextpane
I'm creating a special text editor.
Now i need to mark different words. For example the verbs in yellow, the nouns in red etc.
I want to do this with XML.
For example the sentence is "This is a sample sentence"
With XML tags this looks like this
With this XML and XSL i want to color the verbs and nouns.
Additionally i want to detect what type of word is selected when the user selects a word.
Does anyone knows how to do this ?
- By xXx BlitzK xXx in forum AWT / SwingReplies: 1Last Post: 12-16-2010, 08:08 AM
- By Mash in forum AWT / SwingReplies: 7Last Post: 04-17-2010, 04:33 PM
- By Mash in forum AWT / SwingReplies: 1Last Post: 04-15-2010, 07:36 PM
- By er_zhong in forum New To JavaReplies: 9Last Post: 04-15-2009, 05:46 AM
- By Ada in forum AWT / SwingReplies: 1Last Post: 05-31-2007, 10:50 PM