posted @ 2008-12-08 23:21 非魚 閱讀(1337) | 評(píng)論 (0) | 編輯 收藏
I dont know what goes wrong here. Java 6 desktop applications could not use SCIM in ubuntu with LANG=zh_CN.GB18030. When I input a chinese character, it becomes to 2 english letters instead. I guess it's ubuntu's problem because SCIM works under Red Hat with same locale setting and java version.
So I changed locale to zh_CN.GBK and the problem was solved.
Another problem is that Java 6 applications conflict with eva. every time a message window pops up, the keyboard freezed in java (heavyweight?) window. I can only click on another (heavyweight) widget and navigate back to reactivate the keyboard.
So I changed locale to zh_CN.GBK and the problem was solved.
Another problem is that Java 6 applications conflict with eva. every time a message window pops up, the keyboard freezed in java (heavyweight?) window. I can only click on another (heavyweight) widget and navigate back to reactivate the keyboard.
posted @ 2008-11-19 00:08 非魚 閱讀(1383) | 評(píng)論 (0) | 編輯 收藏
摘要: 使用集合(Collection)“類”而不是接口來定義變量 閱讀全文
posted @ 2008-10-27 20:25 非魚 閱讀(2543) | 評(píng)論 (0) | 編輯 收藏
摘要: 把實(shí)例造型(cast)成具體的類型 閱讀全文
posted @ 2008-10-25 00:32 非魚 閱讀(2287) | 評(píng)論 (2) | 編輯 收藏