Integrated: 8337287: Update image in javax.swing.text.Document.insert

Alexey Ivanov aivanov at openjdk.org
Tue Dec 3 15:07:51 UTC 2024


On Mon, 29 Jul 2024 13:43:42 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> This changeset updates the image in the documentation for the `Document.insert` method. The image in `Document.remove` was updated by [JDK-4622866](https://bugs.openjdk.org/browse/JDK-4622866) in PR #15701.
> 
> Now the illustration of inserting looks similar to removing. The new image is in SVG format.
> 
> For reference:
> 
> - [`Document.insert` in JDK 22](https://docs.oracle.com/en/java/javase/22/docs/api/java.desktop/javax/swing/text/Document.html#insertString(int,java.lang.String,javax.swing.text.AttributeSet));
> - [Updated docs for JDK 24](https://cr.openjdk.org/~aivanov/8337287/api/java.desktop/javax/swing/text/Document.html#insertString(int,java.lang.String,javax.swing.text.AttributeSet)).
> 
> As in the case with `remove`, I marked up to classes and members with `{@code}`.

This pull request has now been integrated.

Changeset: caf053b3
Author:    Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/caf053b3ad53e4ce86d07adee6d71ea1ff3e8965
Stats:     171 lines in 3 files changed: 157 ins; 0 del; 14 mod

8337287: Update image in javax.swing.text.Document.insert

Reviewed-by: serb, prr, abhiscxk

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

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


More information about the client-libs-dev mailing list