ICU4J Demos
These demos will show different capabilities of ICU. To use them you must have Java installed. There are two ways to run the ICU4J Demos.
Web Start Demos (Online)
This is the easiest way to run the ICU demos.
Follow this link to launch the ICU4J demos as a Java Web Start application.
|
|
Downloadable Demo Jar (Offline)
- Download a recent version of the ICU4J binary jar.
- Rename the jar to icu4j.jar
- Download icu4jdemos.jar and store it in the same directory as icu4j.jar.
- Launch icu4jdemos.jar either by double-clicking it, or by executing java -jar icu4jdemos.jar
|
| |
Using the demos
|
CalendarApp This demo compares two calendars against each other. Choose the two calendar types, and the display language, from the pop-up menus. Navigate by days using the < and > buttons, or by years using the << and >> buttons.
| |
Translit This demonstration shows ICU Transliteration. The transliteration mode chosen in the menu will be used as you type.
|
|
HolidayCalendarDemo This demo displays holidays from a certain locale, localized into the display language of your choice. Navigate by days using the < and > buttons, or by years using the << and >> buttons.
| |
RbnfDemo This demo shows Rule Based Number Formatting. Please expand the window to show the entire demo. A number may be entered in the top left corner, or the navigation buttons may be used. The pop-up menus in the top right corner will pick the rule and the variant used.
|
|
DetectingViewer By opening a document using the Open file or Open URL menu items, this demo will statistically detect the probable file encoding of a file. Use the DetectedEncodings menu to see which encodings were detected. |
|
Note: Due to security constraints, you must use the Downloadable Demo Jar in order to use these demos with files on your local disk. The Java Web Start application will not have permission to read local files.
|
ICU Introduction Applets
About the Applets
This is a paper introducing ICU calendars, which has live applets throughout the text to demonstrate various features.
- Download and extract the files in icu4j-applets.zip
- Launch the extracted file Introduction.htm in a web browser.
|