*
* @return the button painter variant.
*/
private ButtonVariantPainter getButtonPainter(JComponent c) {
Object buttonType = c.getClientProperty("JButton.buttonType");
ButtonVariantPainter button = standard;
if ("textured".equals(buttonType) || "segmentedTextured".equals(buttonType)) {
button = textured;
}