JDateChooser display language

主宰稳场 提交于 2019-12-11 04:28:00

问题


I'am using JCalendar's 1.4 JDateChooser so I ask if it is possible to change display names for months and days of weeks without having to change the source code, or, since I never looked the source code, is it complicated to change it even if it can be changed. Thanks.


回答1:


JCalendar responds correctly to supported locales. For example, the locale illustrated below is specified on the command line:

java -Duser.language=fr -Duser.country=FR -cp build/classes DateDemo

Additional localized text properties are found in the source code:

src/com/toedter/calendar/jcalendar_*

For unsupported locales, consider ICU4J Locale Service Provider.



来源:https://stackoverflow.com/questions/26665594/jdatechooser-display-language

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!