Hi there,

I've just gone down the rabbit hole of trying to figure out if it's possible to use the theme builder to create multiple button styles for use throughout our software (we like the neptune theme, we just want different coloured buttons for different things) and after a day spent chasing this I'm no closer to an elegant solution.

By extending ButtonCellDefaultAppearance and overriding the render method I've been able to have some success but this is really nasty and not really scalable... is there a correct accepted way to approach this?

I initially tried to do this just using css and was able to override some of the button's CSS but unable to handle all of the different variations for on click and such so that seemed equally hacky.

I guess I just want to be able to generate multiple Appearances so I can pass them into the TextButtonCell as required. It's like the appearance framework is 90% of the way there, I just can't figure out the last 10%.

Any help is largely appreciated