Questions tagged as 'javafx'

1
answer

Why are the instantiated controls not displayed in the UI?

I have this login application. It is not starting the components correctly. I would like to know how to start them. The code is the same as in the JavaFX workbook of the code house, in the login example. package loginapp; import javafx.app...
asked by 09.06.2017 / 17:59
1
answer

Pick up mouse position within scroll pane

How can I get the mouse pointer inside a scroll pan in javafx? I have an app that does a drag and drop operation inside it, and I need that information to position the node on the screen. The scroll pane is Pannable. If you need to see som...
asked by 27.08.2018 / 03:47
1
answer

IDE Tips / How to do?

I have the following problem I have some text that will be inserted by the user and we will take as an example Implemented phrase: I would like to know how to program better #hoje. I wanted to loop through words beginning with # a lis...
asked by 09.07.2018 / 22:35
2
answers

How to readjust text within a TextFlow?

I have a problem, where, when trying to readjust the screen, the text that is inside a TextFlow , goes out of the screen, and is not set down. public SwingFXPanel(ServicosJson json) { this.json = json; this.cliente = cliente;...
asked by 17.05.2018 / 18:37
1
answer

Possibility of application of design pattern

After an effective login in the application I'm building I return a boolean[] with all the accesses the user has. // Armazena o controle de acesso do usuário LoginDAO logindao = new LoginDAO(conexao); boolean[] acessos = logindao.cont...
asked by 31.03.2018 / 19:55
1
answer

JFXTextField is not a valid type. Error starting JavaFX application

I'm using a lib in JavaFX for styling, and one of the stylings I'm using is the JFXTextField, however, while compiling the application, I run into this error:    JFXTextField is not a valid type What is the solution? Thankful.     
asked by 14.10.2017 / 00:16
1
answer

Failed to customize the javafx tab, the top edge of the panel does not appear

I would like the TabPanel area that does not have a tab to have a border as the image below. Currently my TabPanel is like this, no border to the right of "Enter" Iwouldlikeittolooklikethis,butIdonotknowwheretoputinstructionfromtheborder,...
asked by 12.08.2017 / 13:14
2
answers

How not to lose decimals when doing "longProperty1.divide (longProperty2)"?

What I want to do is very simple, I just do not know how to "do it right" in JavaFX: I have two LongProperty ( num1 e num2 ) and a DoubleProperty ( resultado ) , where this DoubleProperty resultado must contain...
asked by 16.09.2017 / 23:39
1
answer

Page JavaFX

I was playing with JavaFX and crashed when I wanted to add paging to my little application. I have listview filled (as can be seen in the image), when I click on an item, your information is shown on the right. Astheapplicationwasm...
asked by 22.11.2016 / 23:33
1
answer

Edit Button FXML Text

I can not change the text of the button created in FXML. Even though I put it inside initialize(... butao.setText("..."); it does not change. What do I do? PersonController, intializable: @Override public void initialize(URL arg0...
asked by 17.06.2015 / 20:05