Questions tagged as 'javafx'

2
answers

ImageView inside HBox in FXML file

I'm trying to insert an image inside a HBox through a ImageView but I'm not getting it. fxml code: <?xml version="1.0" encoding="UTF-8"?> <?import java.lang.*?> <?import java.util.*?> <?import javafx.scen...
asked by 17.07.2017 / 03:43
1
answer

In android which class corresponds to class Image of javaFX

I have an image server implemented in javaEE, in javaFX I make an image request to the server that returns an array of bytes, with this result I create the image on the client side: ** Image in PNG format. byte buffer[] -> image bytes re...
asked by 25.09.2016 / 15:21
1
answer

Prevent a second click on the same button

In this memory game, when I click the first button and then the second button, everything happens according to the algorithm, but when I click the first button twice, a problem happens ... I wanted to know how to avoid a second click on the firs...
asked by 05.06.2015 / 15:09
1
answer

Screen navigation (JavaFX) [closed]

I have a calendar program and on the main screen I have the option of Add Contact. When it is clicked a new screen is opened so that you can enter the data. When the Save button on this second screen is activated, it saves the data correctly and...
asked by 08.08.2018 / 00:14
1
answer

Java FX - Thread Issues

Good morning, I would like to sanction a question that is disturbing me, how do I edit a Label from a Thread using a button? Whenever I run the code I get an error, but if I run that same code without leaving the Label it works perfectly,...
asked by 25.05.2018 / 07:22
1
answer

Java WebView how to use

How do I use webview when I use: public void site(){ WebView browser = new WebView(); WebEngine webEngine = browser.getEngine(); webEngine.load("http://mySite.com"); } I have the error: Exception in thread "AWT-Even...
asked by 07.12.2017 / 21:07
1
answer

How to select multiple checkBoxs?

I have a for loop, in which I create a new checkBox every time it goes through the loop. I'm adding these checks inside an item of treeTableView . I wanted to know how I could mark all the created checks. How can I retriev...
asked by 19.09.2017 / 13:27
1
answer

Create a Java application for WEB that also runs via desktop

Good night everyone. I'm thinking of developing an application with the following features: Backend: Java Frontend (Option 1): JavaFX Frontend (Option 2): HTML5 + CSS3 I want to start the right way, internationalizing the ap...
asked by 09.08.2017 / 04:36
1
answer

How to run event without clicking radio button?

How do I make a select event for radioButton be started by default? I have determined that my radios buttons will call some methods when selected, I did within initialize , however, in the way that this, I have to click on...
asked by 03.08.2017 / 13:54
1
answer

Clear components within a Tab

I have a method that cleans my components, however, it can not clean components that are within Tab . I was trying to apply it as follows: if (fieldValue instanceof Tab) { for (Tab tab : ((Tab) fieldValue).getTabPane().getTabs())...
asked by 27.07.2017 / 19:19