I am stuck in binding values from enum to RadioButton. Lets say I have a bean:
public class ValueObject {
public enum ValueEnum {
FIRST_VALUE,
SECOND_VALUE
}
protected ValueEnum value;
}
I want to create Swing RadioButtons where user can select one from these two enum values. As I use Netbeans as IDE I would also like to do it using data binding, ie. bind radio buttons to {valueObject.value}. Any ideas? Thanks a lot!