开发者

how can i get fonts for text from client pc using Java Applet?

i am trying to get system fonts in applet form client side but it does not work for applet 开发者_StackOverflowhelp required.


Are you trying to get fonts using

GraphicsEnvironment e = GraphicsEnvironment.getLocalGraphicsEnvironment();
Font[] fonts = e.getAllFonts(); // Get the fonts

In this applet, it seems to work correctly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜