共享一个Personal Organiser软件。
登录 | 论坛导航 -> 华新鲜事 -> 求学狮城 | 本帖共有 9 楼,当前显示第 6 楼 : 从楼主开始阅读 : 本帖树形列表 : 返回上一页
作者:我心为谁动 (等级:3 - 略知一二,发帖:515) 发表:2003-06-04 22:51:00  6楼 
I can answer some of your doubts:1) For HTML pages, they CAN be included into the jar file. I did make applications that displays help documents that are included in jar archive. 2) I recommend that you do not use constant class for localization/internationalization. In fact, the Java i18n approach uses the class MessageFormat as well as .properties files that gives a unique name to each constant string/pattern throughout the application. You can find sample code for the above points from sun's web site. I did both before, so I'm pretty sure they are operational and they are indeed convenient.
doubts:
1) i uses JEditorPane to display HTML pages. it requires the URL of the page, how do i specify the URL if the page is in the jar archive? or u use something else to display the HTML pages?

2) the localization is not like the windows one. it's like the english version of MS-office and chinese of MS-office. therefore, different language version has different constant class. thus, there shouldn't be a problem.
Put your OWN COOL signature here!
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表

本帖共有 9 楼,当前显示第 6 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>



请登录后回复:帐号   密码