Source Code

In this page you will find code examples, tips & tricks or code libraries.

Utilities

[tar.gz][zip][javadoc]
A small Java class library, useful in every development project.

Licence: Apache License, Version 2.0

Main classes:
  • ToStringHelper
    A class for writing the toString() method in no time. The toString() method will be as simple as:
    public String toString() {
        ToStringHelper.toString(this);
    }
                                
  • Iterabletor
    A class for enhancing a non-iterable class with the Iterable interface. In this manner you can iterate on its elements and use it as a regular Collection. For example, You can use it with the JDK 5 "enhanced for":
    Iterable<Element> iterable =
      new Iterabletor<Element>(elements).getIterable();
    
    for (Element element: iterable) {
      // etc...
    }                                
                                

Splasher

[tar.gz][zip][jar][javadoc]
A small library for managing the splash screen of a Java application. It uses the new features of Mustang (Java SE 6).

Licence: Apache License, Version 2.0

Try the example downloading theSplasher.jar and typing the following command:
java -jar Splasher.jar            
                    
...of course you need Mustang.

Europe HTML map

Iceland Portugal Spain Belgium Italy Belarus Poland Greece Finland Germany Sweden Norway Ukraine Ireland Great Britain Switzerland Austria Czech Republic Slovakia Hungary Lithuania Latvia Moldova Romania Bulgaria Albania Estonia Luxembourg France Netherlands Bosnia-Herzegovina Slovenia Macedonia Croatia Serbia Denmark [zip]
A clickable map of Europe.

Licence:This work is published under a Creative Commons License.
Creative Commons License

Source: images based onhttp://commons.wikimedia.org/wiki/Image:Europe_countries.svg


Click on the Country


Italy HTML map

Valle di Aosta Piemonte Lombardia Trentino Alto Adige Veneto Friuli Liguria Emilia Romagna Toscana Umbria Marche Lazio Abruzzo Molise Campania Puglia Basilicata Calabria Sicilia Sardegna [zip]
A clickable map of Italy.

Licence:This work is published under a Creative Commons License.
Creative Commons License

Source: images based onhttp://commons.wikimedia.org/wiki/Image:Map_of_Italy_blank.svg


Click on the region





Messaggi & Commenti

Lascia un commento o un messaggio.

Valid XHTML 1.0 TransitionalValid CSS
FaceletsMyFacesSpring FrameworkHibernate