Almost every application with GUI needs icons. And they better be sexy. And stylish. And consistent. And small. Here are few tips for programatically creating icons using Java 2D features
discuss how paintComponent can be overridden to customize the look of your components, and then we'll discuss a trick that uses paintChildren to paint custom content on top of the component and its children.