<AWT Dev> [12]RFR: JDK-8215921: There is no change when select different Foreground and Background by mouse.
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Tue Jan 15 19:20:06 UTC 2019
Hi, Krishna.
On 15/01/2019 08:52, Krishna Addepalli wrote:
> While fixing JDK-8014503 <https://bugs.openjdk.java.net/browse/JDK-8014503>, the check for newly selected index and the currently selected index was applied wherever there was a postEvent for the same. However, for the case of mouseRelease, the check is already performed since it tracks two things already - dragStartId and newIdx, and posts an event only if both are not same.
Can you please clarify the description above, how the usage of "dragStartId" and "newIdx" at line 472 are related to the check which you drop?
After the current version you will post an event if the same element is reelected.
--
Best regards, Sergey.
More information about the awt-dev
mailing list