Questions tagged as 'fxml'

1
answer

Insert FXML into Scroll Pane and pass data to controller

My system consists of a main screen, which has a scroll-pane that I'm populating with a list of other FXML scenes, a code I picked up from an example on the internet, follows the code: @FXML private Label label; @FXML private VBox pnl_scroll;...
asked by 29.09.2018 / 15:33
0
answers

JavaFX use a Button that is in a fragment of another FXML

This is the main screen driver, where the whole program should run, for example, when clicking on 'btMedicos' a small sub-menu with 3 Button opens inside 'menubar' and when clicking the Add button should open a form in the StackPane 'areaprincip...
asked by 11.08.2018 / 00:51
0
answers

Difficulty copying data from an HBox

In my project, I have a main FXML page with full body and project menus, whereas only the contents of an HBox, with ID "content", is changed as menus are clicked. Content is populated with data from other FXMLs. The problem is that I can only...
asked by 08.03.2018 / 20:04
0
answers

Change padding of an X panel when I add class in a Y panel (both of the same parent panel)

Good evening, my people, I have a screen where I have a sidebar on the left side. When I define it with the CSS class .compacto it stays 50 pixels wide by adjusting the buttons and layout. When I put the .modoExpandido class it gets the avera...
asked by 07.01.2018 / 01:34
1
answer

Create a ListView with triangular tip in JavaFX application

I'm developing a JavaFX application, and I want to make a menu from a ListView, which will be triggered from a button pressed, but I'd like to put a triangular tip on the top of this menu according to the image I sent, I could not via CSS. How c...
asked by 09.09.2016 / 03:11
1
answer

Call up a new screen using a button (Scene Builder, JavaFX)

I have created two screens, one main and one that I intend to call using a button, what would be the appropriate method to call this secondary screen?     
asked by 21.11.2018 / 18:19