File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sources/net.sf.j2s.java.core/src/swingjs/plaf Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3608,9 +3608,9 @@ public void paintBackground(JSGraphics2D g) {
36083608 if (!paintsSelf )
36093609 setBackgroundDOM (domNode , color );
36103610 // preliminary -- DOM only, when the background is set
3611- } else if (allowPaintedBackground && (isOpaque && jc .getComponentCount () > 0 || jc .秘g != null )) {
3611+ } else if (allowPaintedBackground && (isOpaque && ( cellComponent != null || jc .getComponentCount () > 0 ) || jc .秘g != null )) {
36123612 // all opaque components must paint their background
3613- // just in case they have painted CHILDREN
3613+ // just in case they have painted CHILDREN or if they are table cell components
36143614 if (isOpaque == (color .getAlpha () == 255 )) {
36153615 g .setBackground (color );
36163616 } else {
You can’t perform that action at this time.
0 commit comments