共享一个Personal Organiser软件。
登录 | 论坛导航 -> 华新鲜事 -> 求学狮城 | 本帖共有 5 楼,分 1 页, 当前显示第 1 页 : 本帖树形列表 : 刷新 : 返回上一页
<<始页  [1]  末页>>
作者:我心为谁动 (等级:3 - 略知一二,发帖:515) 发表:2003-06-03 17:03:23  楼主  关注此帖评分:
共享一个Personal Organiser软件。
这是一个EE1000的project, Java做的, 用XML储存数据。 点击这里
Put your OWN COOL signature here!
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:我心为谁动 (等级:3 - 略知一二,发帖:515) 发表:2003-06-04 22:27:08  2楼
What are the functions that are not implemented?I found that quite a number of buttons gave "not implemented" error.
yes, those are the functions.
mainly of the following categories:

1. view type. currently only support day view. (display a day's events). the design includes week view and month view also. (this is similar to microsoft works calendar, week view display 7 days in the main display area, with remarks of each day displayed. month view display a calendar-like thing, with each day's remarks). To be implemented.

2. options. this options can set the following: (1)set a default file to open each time the application starts.
(2)set history clean up. (the XML operation uses DOM, file can not be to large) (3)set report generation property, e.g. which kinds of data to include.

3. find. find an events with the keyword /find remarks with the keyword. I am not quite sure how to do this part, all i can do is to search the whole data set word by word (very inefficient)

4. help. i have a help application available, but without the content yet. the available application uses HTML pages. BUT it thus requires those pages being stored somewhere.(can not be in the jar) i am considering something else to do this, e.g. generate those pages only when user requests the page.

5. of course, may also include other features.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:我心为谁动 (等级:3 - 略知一二,发帖:515) 发表:2003-06-04 22:32:26  3楼
yes, those are the functions.mainly of the following categories: 1. view type. currently only support day view. (display a day's events). the design includes week view and month view also. (this is similar to microsoft works calendar, week view display 7 days in the main display area, with remarks of each day displayed. month view display a calendar-like thing, with each day's remarks). To be implemented. 2. options. this options can set the following: (1)set a default file to open each time the application starts. (2)set history clean up. (the XML operation uses DOM, file can not be to large) (3)set report generation property, e.g. which kinds of data to include. 3. find. find an events with the keyword /find remarks with the keyword. I am not quite sure how to do this part, all i can do is to search the whole data set word by word (very inefficient) 4. help. i have a help application available, but without the content yet. the available application uses HTML pages. BUT it thus requires those pages bein (more...)
another thing is regarding multi-language version.
i stored all the text in the UI in a constant class.

to switch to another language, simply replace those text with the corresponding in the other language.

however, there is problem with input chinese characters in the text area. (displayed as squares). don't know whether this problem can be solved in JDK1.4. if yes, a chinese version can be developed in minutes.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:我心为谁动 (等级:3 - 略知一二,发帖:515) 发表:2003-06-04 22:51:00  4楼
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.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:我心为谁动 (等级:3 - 略知一二,发帖:515) 发表:2003-06-05 00:12:18  5楼
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.
reply to Answers: - Flying (reply can't go deeper)
1)yup, i tried to find the ClassLoader's methods to get a resource, but surprisingly didn't find a one that returns a URL. find it now.

2)this is a good pt. never considered this level of customization. a good tip to keep in mind. thank you.

BTW, any idea on the search function?
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
论坛导航 -> 华新鲜事 -> 求学狮城 | 返回上一页 | 本主题共有 5 篇文章,分 1 页, 当前显示第 1 页 | 回到顶部
<<始页  [1]  末页>>

请登录后回复:帐号   密码