Integrated: 6875229: Wrong placement of icons in JTabbedPane in Nimbus
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Jul 7 02:59:12 UTC 2023
On Wed, 21 Jun 2023 15:36:14 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> Icon is placed after text in JTabbedPane for NimbusL&F since the text is drawn at LEADING position instead of TRAILING as is done for [other L&F](https://github.com/openjdk/jdk/blob/59c6c0e1b7148a7139f5e6a4ba2b19623c20c77d/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTabbedPaneUI.java#L1155-L1160)
>
> Before fix
> 
>
> After fix
> 
This pull request has now been integrated.
Changeset: 6485b7d0
Author: Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6485b7d0d3dcbf9c33219feb03a7744a80feb669
Stats: 128 lines in 2 files changed: 126 ins; 0 del; 2 mod
6875229: Wrong placement of icons in JTabbedPane in Nimbus
Reviewed-by: honkar, abhiscxk, dnguyen, jdv
-------------
PR: https://git.openjdk.org/jdk/pull/14596
More information about the client-libs-dev
mailing list