remove ComponentPaints, add javadoc