dude, the `ToggleGroup` has ```private final Read...
# tornadofx
g
dude, the
ToggleGroup
has
Copy code
private final ReadOnlyObjectWrapper<Toggle> selectedToggle = new ReadOnlyObjectWrapper<Toggle>() {
    // Note: "set" is really what I want here. If the selectedToggle property
    // is bound, then this whole chunk of code is bypassed, which is exactly
    // what I want to do.
    @Override public void set(final Toggle newSelectedToggle) {
"ReadOnly" with a setter because "its exactly what I wanted to do". crystal clear.
😮 1
😱 1
c
Is that from the openjfx source? Looks like java code