Skip to content

Commit

Permalink
8263907: Specification of CellRendererPane::paintComponent(..Rectangl…
Browse files Browse the repository at this point in the history
…e) should clearly mention which method it delegates the call to

Reviewed-by: aivanov, serb
  • Loading branch information
prsadhuk committed Apr 8, 2021
1 parent 78d1164 commit 016db40
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ public void paintComponent(Graphics g, Component c, Container p, int x, int y, i


/**
* 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
Expand Down

1 comment on commit 016db40

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.