wenzheng.yang
2023-06-13 76017226c92e01ead75b24e10d36477dd631c2cd
1
2
3
4
5
6
7
8
9
10
11
12
package publicclass;
import java.awt.Font;
public class ChooseFont {
    static Font font=null;
 
    /**»ñÈ¡×ÖÌå*/
    public static Font getFont(int size) {
        font=new Font("TimesRoman",Font.PLAIN,size);
        return font;
    }
 
}