Questions tagged as 'javafx'

1
answer

How do I open NetBeans .fxml files directly in the Scene Builder?

When I click on the fxml extension file the Scene Builder does not open so I can work on it. What can I do?     
asked by 04.05.2017 / 14:11
1
answer

JavaFX Screen Error

When I click to open the clients screen, this error appears. Could someone help me? Error: Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at javafx.fxml.FXMLL...
asked by 19.12.2018 / 04:05
1
answer

ProgressBar using Threads and SceneBiulder

I'm doing a job, and I wanted to know in a simple way how I solve this, I'm doing a simple program in it's almost a game, basically you push a button, the progress bar starts to grow, and adds 1 point to a Label. but when I put it to work, it do...
asked by 09.11.2018 / 18:41
1
answer

Error in code by classes

Good. I have now started to study programming in java that includes several classes in which one calls another. But I'm facing a mistake that I can not understand. I looked for similarly-coded codes and I can not figure out a clear error differe...
asked by 30.12.2017 / 23:46
1
answer

AddAll items in comboBox

I have a ComboBox , and I'm trying to put items (string values) but it is not accepting. I did it this way: private ComboBox<?> meuCombo; public void combos() { meuCombo.getItems().addAll("A", "B"); }     
asked by 12.07.2017 / 15:30
1
answer

Error executing code in netbeans (JAVAFX)

The error is as follows (remembering that only happens in javaFX, in swing everything works normal): Exception in Application start method java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth...
asked by 20.08.2018 / 18:18
1
answer

NullPointer Java Even though the variable was initialized

I'm having a problem to set a label from another controller, my project is structured as follows: FilmeOverviewController, is the overview that contains a tableview, in that tableview you can select the movie and etc, then I created a handle for...
asked by 10.06.2018 / 00:13
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
2
answers

JavaFX does not allow creating events

First of all, I've researched StackOverFlow on similar posts but did not find it. I'm having a problem with JavaFX because it gives an error every time I try to set any event on whatever component it is (a Button, textArea, etc.). NOTE: I did...
asked by 05.01.2019 / 01:09
1
answer

CPF Field Mask

How can I add a simple input mask? For example, when I type in the CPF, I want to limit the amount of characters I already know, I just want to know how to add those points and bars along the user's typing. Note: I saw some examples here b...
asked by 11.10.2016 / 16:06