RFR: 8302057: Wrong BeanProperty description for JTable.setShowGrid

Sergey Bylokhov serb at openjdk.org
Wed Aug 20 20:57:37 UTC 2025


On Wed, 20 Aug 2025 20:09:20 GMT, Phil Race <prr at openjdk.org> wrote:

>> src/java.desktop/share/classes/javax/swing/JTable.java line 1167:
>> 
>>> 1165:      */
>>> 1166:     @BeanProperty(description
>>> 1167:             = "Whether grid lines should be drawn in between the cells.")
>> 
>> It probably need a CSR update as this line is part of spec now
>
> I think we can skip a CSR for this. It is an obvious copy/paste typo and it is a bean property description, nit the javadoc spec which is correct.

note that unlike the specs for setShowHorizontalLines/setShowVerticalLines below the spec for this method uses the "grid lines *around* cells" instead of "lines *between* cells"

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26857#discussion_r2289275986


More information about the client-libs-dev mailing list