Java JButton setMacBevelButton(JButton button)

Here you can find the source of setMacBevelButton(JButton button)

Description

Set property to render button in bevel style on the Mac.

License

Open Source License

Declaration

public static void setMacBevelButton(JButton button) 

Method Source Code

//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
}

Related

  1. setButtonNo(JButton anButton)
  2. setCancelButton(final JRootPane rp, final JButton b)
  3. setEmptyBorder(JButton button, int paddingTop, int paddingLeft, int paddingBottom, int paddingRight)
  4. setEnable(boolean b, JButton... bs)
  5. setImageIcon(JButton b, String fileName, String tip)
  6. setTransparent(JButton btn)
  7. setupAutoRepeat(final JButton button, final int intervalMs)
  8. setWFActionMap(Vector actionButtons, String action, Map wfActionMap)
  9. showToolTip(final boolean show, final JWindow tip, final JButton boton, final JLabel tipText)