Skip to content

Tag: scenebuilder

Dynamically adding nodes in JavaFX

I’m trying to build a chat application that implements Group chat in JavaFX. I want to make a Scroll Pane inside of a Border pane that will contain all Groups in which the User is member of. The Groups icons (ImageViews) need to be added dynamically(cannot be done in Scene Builder) to the Scroll Pane(in…

How to enable drag for transparent AnchorPane?

I need to make my bottom AnchorPane transparent, and I used below code to do that. It works, but after that I cannot move my application by drag? I cannot move application around the workspace; how can I fix it ? Answer You can see this example But I think there will be a better way

Reference control by fx:id

I have a calendar screen I have designed for class using JavaFX and Scene Builder. The part where I’ve placed the number is a label and the part that, currently, says “None”, is a button. I want to reference the value in the Label when I select the Button so that I can display the Appointmen…