Skip to content

Commit 9ccd868

Browse files
committed
JList painting background too late
1 parent ad95d20 commit 9ccd868

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sources/net.sf.j2s.java.core/src/swingjs/plaf/JSListUI.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,8 @@ private void paintImpl(Graphics g, JComponent c) {
475475
}
476476
// Empty out the renderer pane, allowing renderers to be gc'ed.
477477
rendererPane.removeAll();
478-
updateDOMNode();
478+
// no -- this will paint the background over the painted backgrounds
479+
// updateDOMNode();
479480
}
480481

481482
// private void paintDropLine(Graphics g) {

0 commit comments

Comments
 (0)