Questions tagged as 'javafx'

2
answers

Access the contents of a TitledPane in JavaFX

I want to access all the nodes that are contained in a TitledPane for which I loop: for ( Node panel : panelTitulado.getChildren()){ System.out.println ("Nodo: " + panel.toString());...
asked by 24.03.2016 / 16:32
2
answers

Problem with getResource () when getting an image

I have a package called app and within this I have two packages one called res and another graphics, within this last one I have a class with a method, which is responsible for creating an ImageView private ImageView getImageViewFrom(String pa...
asked by 13.09.2018 / 18:35
0
answers

How can I create a completed auto in a JavaFX TextArea?

I am trying to create an Auto-Completed JavaFX , but that the Auto-Completed is at TextArea , but I can not find the way to do it. However, I've seen the way to do an Auto-Completed in a TextField but it's not what I need, sin...
asked by 10.07.2018 / 23:30
0
answers

Handle change between Scenes. JAVAFX without FXML

My main class has the Stage field. I have created classes that extend from some Node (VBox, BorderPane, etc.) whose constructors create and establish the content of themselves. A "Follow" button is part of that content. Example: public clas...
asked by 18.03.2018 / 02:29
0
answers

ListView does not show anything

I am trying to fill a ListView but it does not show any exceptions or show any cell InicioController.java public void buscar(){ System.out.println(texto.getText()); try { FXMLLoader fxmlLoader = new FXMLLoader(getClass().getReso...
asked by 05.03.2018 / 12:44
1
answer

EventHandler JFXTextField

I have one more question, I have it separated in my project by folders in this way: I have a folder (Main) for the main class with the method start(Stage stage) and the method main(String [] args) Another folder (Model) fo...
asked by 24.04.2018 / 07:21
0
answers

login with javaFx and MySQL

I am new using JavaFX and I am trying to make a login connected to the database Program Launcher public class Login extends Application { @Override public void start(Stage primaryStage) { try { AnchorPane root...
asked by 15.09.2017 / 18:16
0
answers

How to add a background image to a Hbox in javafx [closed]

Label label1 = new Label("¿Como acompañar un buen vino ?"); label1.setFont(new Font("Berlin Sans FB", 24)); HBox hb = new HBox(); hb.getChildren().addAll(label1); hb.setSpacing(10);     
asked by 20.06.2017 / 18:19
2
answers

Why does my table show the values in this way?

It should be noted that what I want to do is that the table shows the data when the "Start" button is clicked. link package simulador; import java.net.URL; import java.util.ResourceBundle; import javafx.collections.FXCollections; import...
asked by 09.04.2017 / 01:00
0
answers

Save data in MySQL using JavaFX [closed]

I need to insert data in mysql into a customer table, using a graphical interface with JFX . The problem is that you can not access to capture the data of this form in my connection class. <?import com.jfoenix.controls.JFX...
asked by 31.07.2017 / 00:07