Simple java 2D painting for custom components