How can I make an applet that contains a swing textfield that allows Unicode Hindi characters? The component works fine in appletviewer, but not in IE or Netscape.

John Zukowski

You need to install the font in the Java runtime for the browser.

Neither Netscape nor IE expose these capabilities. If you are using the Java Plugin, your users can configure that runtime to access the font by mucking with the file for the runtime. If they are using the 1.3 Plugin, they don't have to muck with the file, but instead can install the TTF file dynamically (see While displaying a font on an applet, is it necessary for the system running the browser to have the font or is it carried across from the web server where the applet resides? ).

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact