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!

2 Answers 2

32

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

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.