On Mon, 7 Aug 2023 19:43:38 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

> A clean-up of documentation for 
> [`BoxLayout`](https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/javax/swing/BoxLayout.html#class-description):
> 
> 1. Use the `<ul>` element instead of `<blockquote>` to list layout options or 
> axes.
> 2. Add links to `GridBagLayout` and `Box` classes.
> 3. Markup references to classes, mostly `BoxLayout` itself, with `{@code}`.
> 4. Separate the introduction to layout description from the description of 
> horizontal layout. They're now in different paragraphs for easier scanning.
> 5. Add the missing ‘a’ articles.
> 6. Organise imports, including expanding the wildcard import.
> 
> The updated version: 
> [**`BoxLayout.html`**](https://cr.openjdk.org/~aivanov/8313810/api/java.desktop/javax/swing/BoxLayout.html#class-description)
>  (without the CSS).

This pull request has now been integrated.

Changeset: 09dad0e9
Author:    Alexey Ivanov <aiva...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/09dad0e96b37e3fcd1a13040e0de85ebc04b07c2
Stats:     34 lines in 1 file changed: 14 ins; 1 del; 19 mod

8313810: BoxLayout uses <blockquote> instead of list for layout options
8313811: Improve description of how BoxLayout lays out components

Reviewed-by: prr

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

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

Reply via email to