Here you can find the source of setMacBevelButton(JButton button)
public static void setMacBevelButton(JButton button)
//package com.java2s; //License from project: Open Source License import javax.swing.JButton; public class Main { /** Set property to render button in bevel style on the Mac. Only has an effect if Quaqua Look and Feel is used. */ public static void setMacBevelButton(JButton button) { button.putClientProperty("Quaqua.Button.style", "bevel"); }//from w w w . j a v a 2 s.co m }