开发者

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

开发者 https://www.devze.com 2022-12-20 03:30 出处:网络
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

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

精彩评论

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