The Borland Multilingual International Store


Description

The International Sample Application brings together the power and functionality of JBuilder's dbSwing Component Library and DataExpress architecture into an internationally enabled, multilingual, on-line shopping applet/application.

Some of the techniques demonstrated in this sample:

Note: This sample displays messages in English and several different European and Asian languages. You will only be able to see messages in the languages for which you have the appropriate font installed and for which you have the corresponding entry in your JDK font.properties file. sample.font.properties includes the correct settings for several languages supported by the JDK. After modifying it appropriately for your locale, you will need to copy it to the jdk\jre\lib directory in your JBuilder installation directory under the proper name for your operating system locale. For more detailed information, refer to the "Adding Fonts to the Java Runtime" section under the "JDK Guide to New Features/Internationalization" section of JBuilder's JDK Documentation.

Running this sample

This sample has been designed to run either as an applet or an application, and to obtain its data from either a DataExpress TextDataFile or the supplied JDataStore database. For simplicity, by default it runs as an application and obtains its data from text files installed under your JBuilder samples directory. To run this sample using one of the other possible configurations, click the small arrow to the right of the Run arrow on the toolbar and select the appropriate configuration from the drop-down menu. When running with any of the configurations which use JDataStore as the database, be sure to first license your copy of JDataStore using the JDataStore Explorer (Tools | JDataStore Explorer, File | License Manager...). When running this sample as an applet, be sure to start the JDataStore Server first (Tools | JDataStore Server).

Package Summary

 
Package Name Description
com.borland.samples.dbswing.multilingual main project file and application launcher
com.borland.samples.dbswing.multilingual.application data module and supporting files; application exception handler
com.borland.samples.dbswing.multilingual.application.data TextDataFiles and images used by the sample
com.borland.samples.dbswing.multilingual.application.resources localized application resources
com.borland.samples.dbswing.multilingual.beans JavaBeans used in the application
com.borland.samples.dbswing.multilingual.beans.event event and event listener interface used by locale-sensitive beans
com.borland.samples.dbswing.multilingual.beans.resources resources (images and resource bundles) used by the beans
com.borland.samples.dbswing.multilingual.gui classes used to build the application's GUI 
com.borland.samples.dbswing.mutlilingual.gui.resources resources (images and resource bundles) used by GUI elements