File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
sources/net.sf.j2s.java.core/src/swingjs/a2s Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 11package swingjs .a2s ;
22
3- // import java.awt.Color;
4- // import java.awt.Component;
5- // import java.awt.Font;
3+ import java .awt .Color ;
4+ import java .awt .Component ;
5+ import java .awt .Font ;
66
77public class Util {
88// public int junk =1;
99// static Color CONTROL = new Color(238,238,238); // #EEEEEE
1010// static Color CONTROL_TEXT = new Color(51,51,51); // #333333
11- // static void setAWTWindowDefaults(Component c) {
12- // c.setBackground(CONTROL );
13- // c.setForeground(CONTROL_TEXT );
14- // c.setFont(new Font(Font.DIALOG, Font.PLAIN, 12));
15- // }
11+ static void setAWTWindowDefaults (Component c ) {
12+ c .setBackground (Color . white );
13+ c .setForeground (Color . black );
14+ c .setFont (new Font (Font .DIALOG , Font .PLAIN , 12 ));
15+ }
1616//
1717// public static void drawString(Graphics g, String text, int x, int y) {
1818// g.drawString(text, x, y);
You can’t perform that action at this time.
0 commit comments