zsh_root
2024-01-02 7b595546af704983dbafcd0d385c8768ddacefc2
1
2
3
4
5
6
7
8
9
10
11
12
13
package ColorAndFont;
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;
    }
 
}