Re: Catching Mouse Event (NEW CONCEPT -URGENT)
Posted By:
daniel_walker
Posted On:
Thursday, June 21, 2001 10:09 PM
You can track mouse events outside the container.
You'll need to get the default AWT toolkit and addAWTEventListener to add a Mouse Event Listener to it.
If you're trying to drag data out of 'notepad' check out the awt.dnd package.
If you're trying to copy/paste data from/to 'notepad' why not use the clipboard (see Toolkit.getSystemClipboard().
Hope this helps.
Dan
Re: Catching Mouse Event (NEW CONCEPT -URGENT)
Posted By:
Michael_Wax
Posted On:
Thursday, June 21, 2001 04:32 PM
This doesn't seem like something that you can do, and I believe that the operating system (not Java) is what is stopping you. For example, in Windows, I don't believe that Outlook can generate a mouse dragged event when the mouse is being dragged over Excel.