Ruler tool

java and XML file