Skip to content
Permalink
Browse files
8263907: Specification of CellRendererPane::paintComponent(..Rectangl…
…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 016db40c4a14a224f17a00e994fccd402bb0f200
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/java.desktop/share/classes/javax/swing/CellRendererPane.java
@@ -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

1 comment on commit 016db40

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 016db40 Apr 8, 2021

Please sign in to comment.