<Swing Dev> RFR: 8263907: Specification of CellRendererPane::paintComponent(..Rectangle) should clearly mention which method it delegates the call to

Alexey Ivanov aivanov at openjdk.java.net
Tue Apr 6 20:26:27 UTC 2021


On Tue, 6 Apr 2021 11:11:56 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Then the question might arise what is r.x, r.y....I guess my wordings makes it more clearer with pointer to input paramter.
>
> Can this please be approved if there's no more comments?

> Probably the simple "Calls paintComponent(g, c, p, r.x, r.y, r.width, r.height)" will work?

…where `{@code r}` is the passed in rectangle.

I'd add spaces after commas: x, y, width, height.

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

PR: https://git.openjdk.java.net/jdk/pull/3146


More information about the swing-dev mailing list