Questions tagged as 'javafx'

0
answers

Order of Events Listeners

I have a tableView with a listener when selecting a new row from the table view, and I have a textfield that gets a value from one of the tableView columns; The textfield has a listenter when losing the focus of the field it updates the value...
asked by 29.04.2017 / 17:12
2
answers

Exception in thread "JavaFX Application Thread" opening FXML inside an AnchorPane

I created a Top Menu and want it to open the corresponding FXML file inside the Anchorpane when I click on a menu item. However it has given the following error: Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.la...
asked by 02.04.2017 / 20:59
0
answers

Difference between SceneBuilder and JavaFX Application

Personal I'm using Scene Builder 2.0 to do the layout of my JavaFX application. When I see the application through Scene Builder everything is ok, but when I run the JavaFX application the side is not the same as the Scene Builder drawing, it ha...
asked by 16.02.2017 / 12:52
2
answers

How to remove the blue border of the tabpane?

I can not get the default blue border that is shown in the :focused event. I'm trying to solve this problem by CSS, but I can not. My CSS code: .tab-pane .tab-header-area .tab-header-background { -fx-background-color: #333333; }...
asked by 14.11.2016 / 15:08
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

Doubt in Webapp - JavaFX Netbeans

I'm testing creating a webjar in .jar for the same desktop, using the NETBEANS - JavaFX Webview sample tool. The code is as shown below. I'm just looking for a way to remove the address field and the "GO" button, leaving the window only with the...
asked by 14.06.2016 / 11:34
1
answer

TableView does not display data with JavaFx

Hello, I am building a tableView with a tableview loaded with information from the database and FXML. I noticed that the tableview receives the values from my dao because it displays exactly the number of rows from the query when doing a foreach...
asked by 24.05.2016 / 15:25
2
answers

Multiples stage with javaFX

Hello, this question is very simple but I'm starting with JavaFx and I caught on an issue, for example, main class with the main screen where it will have a button that when clicked will open another stage. I have to have a controller for each s...
asked by 18.05.2016 / 15:05
1
answer

Error trying to change column widths in TableView

I have a method that increases and decreases the width of my table at the click of a button (it works perfectly): public void toggleTela() { if(this.tblAudiencias.getWidth() == 940) { this.toogleItens(true); this.tblAu...
asked by 10.06.2016 / 01:22
0
answers

Do you doubt with Scene Builder?

  "Could not open 'File.fxm'       Open operation has failed. Make sure that the chosen file is valid   FXML document " Rstou with a Scene Builder problem that when opening Eclipse and initializing a arquivo.fxml Scene Buil...
asked by 11.06.2016 / 00:26