Skip to content

Commit 521fb90

Browse files
committed
correct JFrame background (#EEE, not #DDD)
1 parent 268560d commit 521fb90

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/JSFrameUI.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ public DOMNode updateDOMNode() {
146146
}
147147
String strColor = toCSSString(c.getBackground());
148148
DOMNode.setStyles(domNode, "background-color", strColor);
149-
DOMNode.setStyles(frameNode, "background", "#DDD");// strColor);
149+
DOMNode.setStyles(frameNode, "background", strColor);
150+
// Why did I set background to DDD? 2019-03-15 12:25:57 commit ca0130f819e926a987a1010569a2fcb5c36ced7c
150151
DOMNode.setStyles(frameNode, "color", toCSSString(c.getForeground()));
151152
setInnerComponentBounds(width, height);
152153
setTitle(frame.getTitle());

0 commit comments

Comments
 (0)