On Fri, 21 Jun 2024 18:08:45 GMT, Phil Race <[email protected]> wrote:

> But it means that if we deprecated the consructor with args we'd probably 
> want to look at those too. It seems like the ripple effect isn't worth it.

It would clean up the code… Yes, we would need to modify all the subclasses too.

> And what if there is later a need for the JSlider ? Unlikely I know ..

The `JSlider` object is set in `installUI` method where a UI object gets 
associated with a particular component.

Before `installUI` is called, the `slider` field is `null`.

> but I'd prefer to correct the short-term mistake and leave everything else 
> alone.

So, considering the ripple effect is not worth it, I guess.

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

PR Comment: https://git.openjdk.org/jdk/pull/19819#issuecomment-2183230243

Reply via email to