On Fri, May 27, 2005 at 09:47:51AM -0600, Mike Adolf wrote:
> If this is the wrong list for this post, let me know.
> 
> I have a form having a mix of JTables, JTextAreas, and JTextFields.  I want 
> to 
> know when a user highlightes/selectes text in any of them (to enable copy 
> button).  To select text a user can (click then shift click) or (double 
> click) or (click and drag).  Isn't there some way to detect highlighting with 
> out multiple listeners?

You could define one listener that implements all the relevant listener
interfaces.

Nathan

> 
> Mike
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to