Choosing a good font size variation algorithm for your tag cloud
In a tag cloud, tags which are used more frequently are displayed in a bigger font size. The font size used to depict a tag is a function of the number of times it is used. The simplest implementation is to use a linear function to map the frequency of use of a tag to […]
Writing plural and singular words using ChoiceFormat in MessageFormat
In Dekoh Photos application I wanted to internationalize String that represents the number of comments made on a Photo.
So when there are no comments made i wanted to display “No Comments”, when there is 1 comment i wanted to display “1 Comment” and if there are more than one comment i wanted to display “n […]
Easing JPA application developement by Using Google-Guice
Persistence Support in Dekoh
At the core of Dekoh is a Servlet (2.4) Container on which any Java web applications can be deployed. Persistence support for Dekoh applications is achieved by using a JPA provider - Toplink Essentials (Part of Glassfish). Each Dekoh desktop installation includes Toplink-Essentials and a Derby database. Dekoh Applications developers can […]