I'm developing a data synchronizer, basically the synchronizer will every 5 seconds check if there is data to be synchronized.
However, my question is how do I do when the synchronization is happening, it does not start a new synchronization,...
I have a component in javaFX and would like to know if the cursor is positioned on it. Is there a function for this?
I tried to create a boolean that stores this using the setOnMouseEntered and setOnMouseExited events, ho...
Hello everyone, my question is I have an AnchorPane child that is added inside the AnchorPane parent in my AnchorPane child. I have a button called CloseAnchorPane my problem.
How do I close the AnchorPane child without closing the parent Anch...
Code I tried to do but it does not work:
JavaFX FXML Application:
salvar.setOnAction((ActionEvent e) -> {
Stage window = (Stage) cont.getScene().getWindow();
try {
String corpo = cont.getText();
FileWriter gravarF...
I'm trying to make an app that checks the price of a product every minute.
In my test code it looks like this:
package sample;
import javafx.stage.Stage;
import java.awt.*;
import java.util.Timer;
import java.util.TimerTask;
import stati...
I have a Button and I'm using javaFX, which I need: button text is written Search, I need 'B' to be in red and 'uscar' in default color, I've tried everything and I'm not getting do this.
When I create a screen in the Scene Builder in JavaFX, three buttons in the upper corner of the screen are as default: minimize , maximize , and close .
My question
How can I manipulate and implement the click event of the close (X)...
Someone more experienced, could you tell me if JavaFX has some way to make a list as you go typing in the textfield. Example: When you are going to enter your facebook email, and you type the first letter and your email appears below, exactly th...
Good afternoon, I would like your help with ProgressBar and Task in javaFX.
I have a progressBar that has its value changed.
I have the following code:
Task task = new Task<Integer>() {
@Override
protected Integer call...