Integrated: 8313408: Use SVG for BoxLayout example

Alexey Ivanov aivanov at openjdk.org
Tue Aug 22 17:29:18 UTC 2023


On Sat, 5 Aug 2023 19:13:20 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> Replace the GIF image of `BoxLayout` example with an SVG one which renders crisp on all the displays, including High DPI ones.
> 
> Compare the images:
> 
>   * [`BoxLayout`](https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/javax/swing/BoxLayout.html#class-description), Java 17, with GIF image;
>   * [`BoxLayout`](https://cr.openjdk.org/~aivanov/8313408/api/java.desktop/javax/swing/BoxLayout.html#class-description) with SVG image.
> 
> (The updated version lacks CSS and JS from the javadoc tool; there are only two files `BoxLayout.html` and `BoxLayout-1.svg`.)

This pull request has now been integrated.

Changeset: eb065726
Author:    Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/eb065726f2b489c9f0f7d76ea75a2eb4d60347b7
Stats:     77 lines in 3 files changed: 74 ins; 0 del; 3 mod

8313408: Use SVG for BoxLayout example

Reviewed-by: serb, tr, prr

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

PR: https://git.openjdk.org/jdk/pull/15169


More information about the client-libs-dev mailing list