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.
精彩评论