A tip calculator for Java.