> Aqua classes for text components enables dragEnabled by default although > setDragEnabled spec cites `"The default value of the dragEnabled property is > false. "` and there is nothing in Aqua L&F that mentions otherwise as to why > the default is overridden. > Other L&F dont override the mode and the code is there from macosx port days > so it seems to be an oversight. > > The code is deleted. > Test is added to check > - default value is honoured in all installed L&Fs > - explicit application setting of drag mode is preserved on L&F change > > CI testing is ok. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: Revert LookAndFeel change ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32101/files - new: https://git.openjdk.org/jdk/pull/32101/files/314aa764..a412f9da Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32101&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32101&range=02-03 Stats: 6 lines in 1 file changed: 3 ins; 3 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/32101.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32101/head:pull/32101 PR: https://git.openjdk.org/jdk/pull/32101
