Details
Description
When using the highlight markup annotation tools the resulting component behaves as a rectangle even now the highlight shape may be a complex polygon. This rectangular nature makes it hard to selected text that is not marked as highlighted but resides under the component block.
The way around this is in swing is to make the contains(x,y) method a little smarter. Basically if the mouse is contained in the box we then look a little further to check if the mouse coordinates are also contained in the highlight shape. This address mouse icon state and the propagation of mouse events.
The way around this is in swing is to make the contains(x,y) method a little smarter. Basically if the mouse is contained in the box we then look a little further to check if the mouse coordinates are also contained in the highlight shape. This address mouse icon state and the propagation of mouse events.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion