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