Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -200,8 +200,8 @@ public void paintComponent(Graphics g, Component c, Container p, int x, int y, i


/**
* Calls this.paintComponent(g, c, p, x, y, w, h) with the input parameter
* {@code Rectangle} x,y,width,height fields.
* Calls this.paintComponent(g, c, p, r.x, r.y, r.w, r.h) where

This comment has been minimized.

@mrserb

mrserb Apr 7, 2021
Member

BTW the Rectangle does not have "w" and "h" fields

* {@code r} is the input {@code Rectangle} parameter.
*
* @param g the {@code Graphics} object to draw on
* @param c the {@code Component} to draw
ProTip! Use n and p to navigate between commits in a pull request.