Comparator Cutter is an Applet that generates generates custom Java code to implemet Comparable/Comparator. The Applet lets lets you provide a few facts about the Comparable or Comparator you want and the ComparatorCutter generates you well-commented Java source code to include in your own programs. It ask you the name of the Comparator class, the name of the class of objects you are comparing, the names and types of the fields to sort/compare the objects, and whether you want ascending/descending order for each sort. If you want code that will handle null sort keys, tick off null safe. ComparatorCutter runs either as an application or as an Applet that needs to run in JDK 1 5+ capable browser. Source code and sample HTML included. You can run it online at online at the mindprod site without installing it.