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

Reviewed-by: aivanov, serb
This commit is contained in:
Prasanta Sadhukhan 2021-04-08 04:41:18 +00:00
parent 78d1164ce2
commit 016db40c4a

View File

@ -200,7 +200,8 @@ public class CellRendererPane extends Container implements Accessible
/**
* Calls this.paintComponent() with the rectangles x,y,width,height fields.
* Calls this.paintComponent(g, c, p, r.x, r.y, r.width, r.height) where
* {@code r} is the input {@code Rectangle} parameter.
*
* @param g the {@code Graphics} object to draw on
* @param c the {@code Component} to draw