<Swing Dev> Integrated: 8049700: Deprecate obsolete classes and methods in javax/swing/plaf/basic

Tejpal Rebari trebari at openjdk.java.net
Fri May 7 05:15:56 UTC 2021


On Wed, 6 Jan 2021 12:43:41 GMT, Tejpal Rebari <trebari at openjdk.org> wrote:

> Please review the following fix for jdk17.
> In this fix i have deprecated and marked for removal following classes and methods 
>    public void intervalAdded(ListDataEvent e)
>    public void intervalRemoved(ListDataEvent e)
>    protected boolean lt(File a, File b) in BasicDirectoryModel.java
> 
>    inner class PropertyChangeHandler, VSBChangeListener, HSBChangeListener, 
>    ViewportChangeHandler in BasicScrollPaneUI.java
>    inner class MouseInputHandler in BasicMenuItemUI.java
>    method BasicToolBarUI.java#createFloatingFrame
> 
> From 8049700 not deprecated the paintText(Graphics g, JComponent c, Rectangle textRect, String text) method in BasicButtonUI  as AquaButtonUI, MetalButtonUI and MetalToggleButtonUI overrides it.
> Similarly not deprecated ChangeHandler of BasicMenuUI as AquaMenuUI and MotifMenuUI uses this class.

This pull request has now been integrated.

Changeset: ebb68d2b
Author:    Tejpal Rebari <trebari at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ebb68d2b8652328b80780f6a39c78ff19f24136a
Stats:     38 lines in 4 files changed: 31 ins; 0 del; 7 mod

8049700: Deprecate obsolete classes and methods in javax/swing/plaf/basic

Reviewed-by: psadhukhan, prr, serb, azvegint, iris

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

PR: https://git.openjdk.java.net/jdk/pull/1958


More information about the swing-dev mailing list