Skip to content

Commit 797cb13

Browse files
hansonrhansonr
authored andcommitted
adds default font for JFrame, though not implemented.
1 parent ad5561d commit 797cb13

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,8 @@ public void installUI(JComponent jc) {
244244

245245
frame.addWindowListener(this);
246246
frame.addComponentListener(this);
247-
LookAndFeel.installColors(jc,
248-
"Frame.background",
249-
"Frame.foreground");
247+
LookAndFeel.installColorsAndFont(jc, "Frame.background",
248+
"Frame.foreground", "Frame.font");
250249
}
251250

252251
@Override

0 commit comments

Comments
 (0)