RFR: 8267582: BasicLookAndFeel should not call getComponentPopupMenu twice to get a popup menu
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Jan 17 05:17:09 UTC 2023
On Mon, 16 Jan 2023 20:07:07 GMT, SWinxy <duke at openjdk.org> wrote:
> Please review this small change to cache a component's popup menu in BLAF.
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java line 35:
> 33:
> 34: import javax.sound.sampled.*;
> 35: import javax.swing.*;
Fix looks ok.
But , please replace the wildcard imports with specific ones
-------------
PR: https://git.openjdk.org/jdk/pull/12017
More information about the client-libs-dev
mailing list