Archive for the ‘Java’ Category.
September 18, 2008, 8:10 am
JSR 310: A New Java Date/Time API by Jesse Farnham — Java SE’s Date and Calendar classes leave much to be desired. Will the third time be the charm? JSR 310, tracking for inclusion in Java SE 7, once again tries to offer a comprehensive date and time API, borrowing much of its design from the popular Joda Time API. In this article, Jesse Farnham takes a look at JSR 310’s concepts and how they may yet bring sense to dates and times in Java.
September 17, 2008, 8:04 am
Language and geographic environment are two important influences on our culture. They create the system in which we interpret other people and events in our life. They also affect, even define, proper form for presenting ourselves and our thoughts to others. To communicate effectively with another person, we must consider and use that person’s culture, language, and environment.
Read Understanding Locale in the Java Platform for more details about how to use locale in your Java applications.
September 15, 2008, 12:54 am
Instead of loading and working with ResourceBundle files directly, you will use the ResourceManager and ResourceMap framework classes to manage resources. A ResourceMap contains the resources defined in a specific ResourceBundle implementation. A map also contains links to its parent chain of ResoureMap objects. The parent chain for any class includes the ResourceMap for that specific class, the application subclass to which the class belongs, and all superclasses of your application up to the base Application class.
Continue reading ‘Managing resources in the Swing Application Framework (JSR 296)’ »
September 11, 2008, 12:21 pm
The Java SE 6 release provides an interesting new class: java.net.IDN. It’s small, simple…very focused on a single task. That task has two parts:
- to convert domain names from practically any Unicode character to an
ASCII Compatible Encoding or ACE.
- to convert ACE names back into their full Unicode UTF-16 encoding
Continue reading ‘International Domain Names’ »