12

In JavaFX exists the control ToggleGroup. I have installed the SceneBuilder, version:

Product Version
JavaFX Scene Builder 8.0.0

Build Information
Version 8.0.0
Date: 2015-03-25
Java Version: 1.8.0_40-b25, Oracle Corporation

I can't find this control in the SceneBuilder:

screenshot scenebuilder

Can you help me?

Thanks for your help!

mrbela
  • 4,477
  • 9
  • 44
  • 79

2 Answers2

31

You can set it in the properties. It is not a visual control, but a grouping.

enter image description here

purring pigeon
  • 4,141
  • 5
  • 35
  • 68
9

The ToggleGroup is not a control. When you have created a ToggleButton you can select it in SceneBuilder. Then you will find a field on the right side within the inspector named "Toggle Group". Add a name there and SceneBuilder will put the ToggleButton together with all other ToggleButtons which you give the same group name into a ToggleGroup. You can inject the toggle group into your controller in the usual way.

mipa
  • 10,369
  • 2
  • 16
  • 35