Java JButton Settings isSelected(AbstractButton... buttons)

Here you can find the source of isSelected(AbstractButton... buttons)

Description

is Selected

License

Open Source License

Declaration

public static boolean isSelected(AbstractButton... buttons) 

Method Source Code

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

import javax.swing.AbstractButton;

public class Main {
    public static boolean isSelected(AbstractButton... buttons) {
        for (AbstractButton button : buttons) {
            if (button.isSelected()) {
                return true;
            }//  w  ww.jav  a2s.  c om
        }

        return false;
    }
}

Related

  1. hasText(AbstractButton button)
  2. hideApproveButton(JFileChooser fileChooser)
  3. hideJFileChooserButtons(JFileChooser sessionFileChooser)
  4. interButtonSpace()
  5. isScrollBarButton(AbstractButton button)
  6. isSelected(final AbstractButton abstractButton)
  7. isSelected(final AbstractButton abstractButton)
  8. lookupButton(Container c, String text)
  9. newTabbedPaneButton(String text)