Java JButton Settings getButtonSelectedString(ButtonGroup buttonGroup)

Here you can find the source of getButtonSelectedString(ButtonGroup buttonGroup)

Description

get Button Selected String

License

Open Source License

Declaration

public static String getButtonSelectedString(ButtonGroup buttonGroup) 

Method Source Code

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

import javax.swing.ButtonGroup;

public class Main {
    public static String getButtonSelectedString(ButtonGroup buttonGroup) {
        return buttonGroup.getSelection().getActionCommand();
    }//from  w w w .j a  v  a 2  s . c  om
}

Related

  1. getButtonBorderColor(Color color)
  2. getButtonColor()
  3. getButtonPane()
  4. getButtonSelectColor()
  5. getButtonSelectedInt(ButtonGroup buttonGroup)
  6. getDefaultFatButtonMargin()
  7. getHudControlShadowSize(AbstractButton button)
  8. getIcon(AbstractButton b)
  9. getListenedButtonsFor(Container c)