J
Jenny
Hi,
I wrote a line
Font ft = new Font("Times New Roman",Font.BOLD,20);
It works.
Could you tell me why
Font ft = new Font("TimesRoman",Font.BOLD,20);
also work?
I checked the font names. I can only find the font name Times New
Roman on my PC, NOT "TimesRoman".
I use Windows 2000 and Java SDK 1.4.2.
Thanks a lot.
I wrote a line
Font ft = new Font("Times New Roman",Font.BOLD,20);
It works.
Could you tell me why
Font ft = new Font("TimesRoman",Font.BOLD,20);
also work?
I checked the font names. I can only find the font name Times New
Roman on my PC, NOT "TimesRoman".
I use Windows 2000 and Java SDK 1.4.2.
Thanks a lot.