On Mon, 23 Sep 2024 20:40:47 GMT, Alexey Ivanov <[email protected]> wrote:

> I added description to all the constructors available in `PassFailJFrame`.
> 
> I generated the javadoc for it: [`PassFailJFrame` constructor 
> details](https://cr.openjdk.org/~aivanov/PassFailJFrame/api/PassFailJFrame.html#constructor-detail)
>  which is easier to read. This hosted javadoc could be used as a reference to 
> its API.
> 
> The constructor with the largest number of parameters contains a short 
> description of how to use the `PassFailJFrame` object.
> 
> Shall we deprecate the constructors in favour of `Builder`?
> 
> The builder provides a more streamlined experience, therefore new tests 
> should use it instead of constructors. We may update the tests which use the 
> constructors, after which the constructors can be removed.

This pull request has now been integrated.

Changeset: 3762ec39
Author:    Alexey Ivanov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/3762ec3978bfe9910929ab22aaf238e9f4c84630
Stats:     153 lines in 1 file changed: 96 ins; 14 del; 43 mod

8340466: Add description for PassFailJFrame constructors

Reviewed-by: prr, honkar

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

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

Reply via email to