Open a Popup Window in IntelliJ from a Button

Open a Popup Window in IntelliJ from a Button

Tiempo de lectura: 2 minutos To do this, we will first design one of the windows where we create a button that, when pressed, will open an alert window of the selected type: information, caution, etc. Each window or class in IntelliJ must have its corresponding FXML, which is shown below: In this case, our main window will be devcodelight.fxml, … Read more

Open another window in IntelliJ using JavaFX

Open another window in IntelliJ using JavaFX

Tiempo de lectura: 2 minutos Reading time: 2 minutes To do this, we will first design one of the windows where we create a button that, when pressed, will open another window with a different design. Each window or class in IntelliJ must have its corresponding FXML, as shown below: In this case, our main window will be “devcodelight.fxml”, where … Read more

Load Object Data into a TableView in IntelliJ using JavaFX

Load Object Data into a TableView in IntelliJ using JavaFX

Tiempo de lectura: 2 minutos Reading time: 3 minutes We begin by creating the design of the application window, where we need to add a TableView element. We give this element its own ID, in this case, I’ll call it “tablaAplicaciones”, resulting in the window looking like this: Next, in order to display the data in the table, we are … Read more

Load data from an ArrayList to a ListView in IntelliJ using JavaFX

Load data from an ArrayList to a ListView in IntelliJ using JavaFX

Tiempo de lectura: 2 minutos Reading time: 2 minutes First, we need to have a designed FXML FILE where we add a ListView element with its id. In this case, we call it “listaAplicaciones”. In the corresponding Java Class, we reference the created ListView and create an ArrayList with the data we want to display as follows: In order to … Read more