Closed Marcelphilippeandrade closed 1 year ago
Sorry for the late response. I've tried to reproduce your problem but so far I have failed to get your application running. Which JDK are you using? How can your application be run from the command line?
Without actually reproducing the problem I can see a problem in your code: You must not create the signupWrapper in the check method. It must be created once only, not everytime a check happens. It also has to be added to the scenegraph in order to work.
Hello everyone, I'm using ValidatorFx to validate the fields on my screen, but after using the feature:
TooltipWrapper
according to the documentation, the register button on my screen is getting disorganized, it is going up a few pixels on the screen. Could you help me? To facilitate the sharing of my code I created a repository on GitHub the address is: https://github.com/Marcelphilippeandrade/Supermercado-Marcel.git
I would also put a piece of code here:
screen code: `<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.?> <?import javafx.geometry.?> <?import javafx.scene.effect.?> <?import javafx.scene.text.?> <?import java.lang.?> <?import javafx.scene.control.?> <?import javafx.scene.layout.*?>
**controller code:**
package br.com.supermercado.marcel.controller;import java.time.LocalDate; import br.com.supermercado.marcel.interfaces.InterfaceCadastro; import javafx.beans.binding.Bindings; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.control.Alert; import javafx.scene.control.Alert.AlertType; import javafx.scene.control.Button; import javafx.scene.control.DatePicker; import javafx.scene.control.Tab; import javafx.scene.control.TabPane; import javafx.scene.control.TextField; import javafx.scene.control.Tooltip; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.FlowPane; import net.synedra.validatorfx.TooltipWrapper; import net.synedra.validatorfx.Validator;
public class LoteItemController implements InterfaceCadastro {
}
**Main application code:**
package br.com.supermercado.marcel.main;import java.net.URL;
import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.layout.FlowPane; import javafx.stage.Stage;
public class Aplicacao extends Application {
} `