issues after porting a mac app from Java 6 to 7u9 (original) (raw)

Anthony Petrov anthony.petrov at oracle.com
Tue Nov 13 04:33:57 PST 2012


On 11/12/2012 6:54 PM, Rick Hillegas wrote:

1) Drag-and-drop on a JTable behaves differently. On Java 6, when I drag a cell between locations on a JTable, the following happens:

- A ghost rectangle appears as the drag starts. - I drag the ghost rectangle onto the target cell, positioning it so that it lines up with the target border, and then release the mouse. - My drag-and-drop handler then processes events correctly. Now on Java 7 the following happens: - The ghost rectangle appears as before. - But I have to position it differently. Now I have to just barely overlap the bottom boundary of the ghost rectangle with the top boundary of the target cell in order to generate events for my drag-and-drop handler. Is this a known difference in behavior?

Not that I know of. Please file a bug at http://bugs.sun.com/. Swing engineers will evaluate it.

-- best regards, Anthony



More information about the macosx-port-dev mailing list