Everybody writes its own class for that because ShapeButton is quite useless at the moment. It should be rewritten with more coloursID and its paint methods moved to the LookAndFeel. Otherwise mark it depreciated and throw it away sometime :)