Questions tagged as 'javafx'

2
answers

How to play an audio mp3 and others in Java

Hi, I've been looking to play an mp3 audio but it still does not work. I tried with the JavaFx Media class. How could I play the audio? without having to resort to external libraries.     
asked by 03.05.2016 / 00:23
1
answer

Using StringProperty or DoubleProperty with Hibernate

Is it possible to create a class in Java to access with hibernate a database table with primary key compound (two or more fields), whose attributes with the @Column are of type StringProperty or DoubleProperty of JavaFX?...
asked by 20.10.2016 / 17:15
1
answer

Cancel key events in JavaFx

I have a JavaFx application whose main window has several buttons, I have assigned actions to the keys ENTER and ESCAPE with a code like this: scene.setOnKeyReleased((KeyEvent keyEvent) -> { System.out.println(" -> "...
asked by 15.09.2018 / 01:30
2
answers

Problem with Github login in eclipse

I want to share a JavaFx project created in Eclipse Neon .1a Release (4.6.1) in GitHub . I am using the native tools of the IDE, I already made the local repository, I just need to create the remote . Using the Git Rep...
asked by 18.12.2016 / 19:22
1
answer

Problem with the accents in textfield in popover

I am using a PopOver that contains a TextField and it is displayed when the user clicks on the imageView of a CustomTextField. When I click inside the internal TextField, everything goes well until I insert an accented vowel, which to my surpris...
asked by 22.10.2016 / 22:32
1
answer

Alternative to replace the SideMenu of JFoenix

I am working with JavaFX , specifically with the JFoenix library. In my project I replaced the NavigationDrawer of the demo ( SideMenu ) with a JFXListView within the interface (the space inside the red rectangle)....
asked by 15.05.2017 / 19:49
1
answer

TableView and setOnCloseListener JavaFX

my problem is that when I load the .txt in the tableview it loads it but the text does not appear in the columns, it goes empty but when I select the row if it collects the data belonging to each column but in the table it does not come out and...
asked by 08.11.2017 / 20:28
2
answers

Change of frame in javaFX

How can I change from one frame to another by closing the first frame in javaFX ? I have the following code, but it does not work, it does not open the other windows: Proof Windows Class: package pruebaventanas; import java.io.IOEx...
asked by 15.11.2016 / 17:50
3
answers

Make invisible controls in JavaFX

Is there any way to hide controls in javaFX so that they do not take up space? I have seen that in android it is possible: control.setVisibility(View.GONE); What comes to mind is this: control.setVisible(false); control.setMinSize(0,0);...
asked by 15.04.2016 / 15:16
1
answer

Listener in JavaFX

Good evening, I have run into a small problem when writing the code of an interface. The part of the code that fails is: final BooleanBinding activarComprobacion = campo1.textProperty().isEqualsTo(""); activarComprobacion.addListener((Observab...
asked by 19.04.2017 / 23:28