Java JButton setEnable(boolean b, JButton... bs)

Here you can find the source of setEnable(boolean b, JButton... bs)

Description

set Enable

License

Apache License

Declaration

public static void setEnable(boolean b, JButton... bs) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import javax.swing.JButton;

public class Main {
    public static void setEnable(boolean b, JButton... bs) {
        for (JButton button : bs) {
            button.setEnabled(b);/*from   w  w  w  . j  a  va  2  s.c o m*/
        }

    }
}

Related

  1. removeMargins(JButton button)
  2. renderImageOnly(JButton button)
  3. setButtonNo(JButton anButton)
  4. setCancelButton(final JRootPane rp, final JButton b)
  5. setEmptyBorder(JButton button, int paddingTop, int paddingLeft, int paddingBottom, int paddingRight)
  6. setImageIcon(JButton b, String fileName, String tip)
  7. setMacBevelButton(JButton button)
  8. setTransparent(JButton btn)
  9. setupAutoRepeat(final JButton button, final int intervalMs)