On Thu, 6 Aug 2026 02:34:12 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> Yes, it can be done in setUIProperty and I have moved there..
>> I have also added JPasswordField case in regression test too which passes
>
> For JPasswordField, I see in LookAndFeel.installProperty, it calls 
> `customSetUIProperty` special case which only handles "echoChar" propertyName 
> so for "dragEnabled" propertyName it will return false so 
> JComponent.setUIProperty will handle it as a JTextComponent

I dont see any spec note or API doc for drag on JPasswordField

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/32101#discussion_r3725515601

Reply via email to