how to internationalize titlebar
Currently i am working on an application that works in english and german,
when the language settings are changed i am reading all the screen contents from the i18n file. My problem is how to make the titlebar internationalize.......
i.e i need to change the tooltips of close, minimise, maximise buttons and the system menu...
Frame title bars are drawn by the host OS, so whatever font it uses to display there needs to support whatever character set your applications require (all of them!).
For Windows, set the title bar fonts to something like "MS Arial Unicode" in the Desktop properties / appearence dialog (right click on desktop). This supports most unicode characters, and I have used it to display chinese title bars on an otherwise english host locale.
Of course, the host OS needs to support Unicode characters in its GUI.
For other platforms, do the equivalent.
I am not sure if there are any platforms where the from title is drawn directly by Java.
Thanks for the reply.
Currently we r working on windows server 2000 but our client works in AIX machine.so we need some solution which doesnot depend on OS, i found an idea of making the screen undecorated and creating our own titlebar....but need some sample code, currently i am working in this way.
Thanks for ur interst.
All you need is to provide a resource bundle named basic_de in com.sun.swing.internal.plaf.basic.resources package.I did it for farsi, it works. If you had problem send an e-mail to iekayvan@yahoo.com, with subject that contains "java" word.