Swings
I have a created a Jtextarea where i want to keep track of the textselection events.Only if the user selects the text the copy and paste options should be enabled.I tried using textListener but that fires the event only if the text is changed.There is one more listener called TextSelection Listener but it is not used anywhere and neither there is any source code in the src folder in the jdk kit.

