Java JButton Settings doHover(boolean b, AbstractButton... btns)

Here you can find the source of doHover(boolean b, AbstractButton... btns)

Description

do Hover

License

Open Source License

Declaration

public static void doHover(boolean b, AbstractButton... btns) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.AbstractButton;

public class Main {
    public static void doHover(boolean b, AbstractButton... btns) {
        for (AbstractButton btn : btns) {
            btn.setContentAreaFilled(b);
            btn.setBorderPainted(b);/*from w ww . j a  v a2s.c o  m*/
        }
    }
}

Related

  1. confirm(Component comp, String title, String message, int buttons, int type)
  2. creaStyledButton(int style)
  3. customize(AbstractButton btn)
  4. decoratedToSimpleButton(final T button)
  5. doClick(final AbstractButton button)
  6. doSetText(final AbstractButton abstractButton, final String text)
  7. doSetTextInEDT(final AbstractButton abstractButton, final String text)
  8. drawActiveButtonBorder(Graphics g, int x, int y, int w, int h)
  9. drawDefaultButtonBorder(Graphics g, int x, int y, int w, int h, boolean active)