On Tue, 19 Apr 2022 21:03:13 GMT, Harshitha Onkar <d...@openjdk.java.net> wrote:
> The exisiting manual test case tests different html styles of JTabbedPane tab > title. The tab with "big" as title is seen to be clipped on Aqua LAF for > larger font-size. In other LAFs it is observed that bigger font-size can be > accommodated without clipping. > > The following approaches were evaluated before considering it as not a test > issue - > > - Aqua LAF has a different tab style compared to other LAFs as seen in the > screenshot below. Limiting font size on Aqua LAF requires scaling down the > text which might be incompatible with Aqua LAF. > > - Removing existing constraints on text and icon is incompatible for Aqua LAF. > > Since the above two approaches are incompatible with Aqua and it is not a > test issue, a note has been added about clipped text and this test has been > removed from problem list > >  test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java line 59: > 57: + "fit the tab.</center></html>"; > 58: tp.addTab("<html><center><font > size=+2>big</font></center></html>", > 59: new JLabel(text)); If you are saying text may not fit the tab, then I guess no need to change font size from +3 to +2, leave it as it is.. ------------- PR: https://git.openjdk.java.net/jdk/pull/8307