JButton jb=new JButton("设置字体大小和粗体"); Font f=new Font("华文行楷",Font.BOLD,20);//根据指定字体名称、样式和磅值大小,创建一个新Font。
確定! 回上一頁