Most voted "javafx" questions
Javafx is a software platform aimed at developing and delivering desktop applications, as well as Rich Internet Applications (Rias) that can run on a wide variety of devices.
Learn more…299 questions
Sort by count of
-
1
votes1
answer95
viewsError while trying to run Scene
I made a screen with Scene Builder, but when I compile in Javafx gives this error could help me? ant -f C:\\Users\\gusta\\Desktop\\TccProject\\LoginJAVAFXML jfxsa-run init: Deleting:…
-
1
votes2
answers95
viewsHow to readjust text that is inside a Textflow?
I have a problem, where, when trying to readjust the screen, the text that is inside a TextFlow, goes off the screen, and it’s not set down. public SwingFXPanel(ServicosJson json) { this.json =…
-
1
votes1
answer113
viewsJavafx - locked screens
All Javafx screens lock when the server is turned on. I tried to use task, but you don’t seem to be getting ahead of yourself. The program works even with the locked screens but I would like to be…
-
1
votes1
answer91
viewsGrab mouse position inside scroll pane
How do I get the mouse position inside a scroll pane 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…
-
1
votes0
answers687
viewsSave Textfiel text to a variable and insert into a field using Selenium driver
I need to take data from a Textfiel (letters and number) and then insert it into a field using Selenium. //Classe1 para pegar texto String guardarPlaca; @FXML public void inserirDados(ActionEvent…
-
1
votes2
answers301
viewsThread Issues in Java FX
Good night, I am having problems trying to implement a thread to my application, I always get the same error and do not know how to solve. When I run the application the first Thread takes effect,…
-
1
votes0
answers39
viewssetx and setY do not work in the pane (Javafx)
I’m having a problem setting the x and y position of an Imageview in a Javafx Pane. It is a loop code and, the first time the method is called, it arrow the img object at the specific coordinates…
-
1
votes0
answers114
viewsError calling Java Fx screens in Spring
I am developing a Spring + Java Fx application, when calling the code from the main class screen, it works normally, but if I call another screen, it does not record the information in the model and…
-
1
votes0
answers109
viewsTable checkbox in Javafx selects alone when I move the scroll bar
Hello! I am learning javafx and I have a table with a checkbox column, when the application starts it lists right in the rows of the table. The problem is that when I select the first two for…
-
1
votes0
answers57
viewsProblem with JAVA paths
I am on a project and I find myself with the following problem. a part of the code has the following: Path caminho2 = Paths.get("C:\\Users\\Evandro\\Documents\\Java\\Player beta…
-
1
votes1
answer136
viewsLabel does not update via setText in Javafx
Good night, I have a problem trying to change the text of a label through the sexText method and I can’t identify the problem, I appreciate the help. Code: void atualizar() {…
-
1
votes1
answer134
viewsHow to perform an action automatically at the end of a video?
Follow the video code package video; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.StackPane; import javafx.scene.media.Media; import…
-
1
votes0
answers54
viewsProblem in crossing parameters between screens in Javafx
Friends, this is my main start method of a Javafx project. The idea was for me to store a cache of all the screens so that I could pass objects between the screens through the Observer Pattern. The…
-
1
votes0
answers43
viewsJavafx: Update an entire database from a tableView
Good night, you guys! I’m building a program in Javafx, but I’m still very young at it. So I have a tableview with information about students. This tableView has a "tcbCondicate" column (whether or…
-
1
votes1
answer91
viewsFXML Loader error
The goal in the code was that by clicking the + button would be shown the screen of the Establishment that is in the file Telaesbelecimento.fxml but errors are occurring. SCREEN CODE CONSULT import…
-
1
votes1
answer139
viewsException in thread "main" java.awt.Illegalcomponentstateexception: The frame is Decorated
Guys I came back, I started studying AWT I made a simple program that just opened a window with a green background, but I try to create an event to the program window close and is giving the title…
-
1
votes1
answer122
viewsJavafx - Initialize components only when the scene is requested
I’m trying to initialize some components, but I realized that the fxml controller initialize method is initialized before the scene is placed in Stage, this is the way I use to manage the scenes:…
-
1
votes0
answers75
viewsCreate a dynamic Java screen
I created a software in Java to make comparisons, the idea is to register objects as cell phones and create criteria to define the best according to their weight. Problem: I want to register an…
-
1
votes1
answer90
viewsHow to integrate Javafx with Springboot
I’m on the following case: I have an application developed with Spring Boot, and I am developing the front end with Javafx. It is a local application, not a web one. I can run the project, Spring…
-
1
votes0
answers31
viewsProblem passing parameters to a Java controller
I am having a problem trying to pass parameters to any controller, using as example two of my controllers: The controller1 has the following function to navigate to controller2: public void…
-
0
votes1
answer2529
viewsRun Javafx app on Android
I have a desktop application that uses Javafx and would like to run it on tablets, someone has a tip?
-
0
votes1
answer146
viewsInclude a fxml via code by a controller
Hello, I have the following question. I have two fxml: Userlist.fxml and Userproperties.fxml. And I need to include Userlist within Userproperties, but it can’t be by fxml, because it won’t always…
-
0
votes1
answer1738
viewsFill Progressbar in Javafx
I’m seeing Javafx, I’m having doubts about using Progressbar. How do I Fill Progressbar while another parallel operation occurs.?
-
0
votes1
answer24
viewsCalling method in Choicebox
I created a Choicebox, where at each selected level, a method should be called; but the following happens, any selected item calls the method; how to make a condition, that is, depending on the…
-
0
votes0
answers390
viewsTextfield Null in Javafx
I’m learning to develop in Javafx. I would like to be able to select an item in a tableView, when clicking a button, it opens a window with the details of the previously selected item. But I am…
-
0
votes1
answer181
viewsJavafx Webview does not receive 200 messages from AJAX
I am using the Restlet library that allows you to use Restful services without needing an external server. Webview and Browser Code: public class View extends Application { public static void…
-
0
votes2
answers973
viewsImage does not appear after Gero o . jar
How do I get my image to appear in the application after the . jar generation? I’m doing it this way and it’s not working. @FXML private ImageView image; @Override public void initialize(URL url,…
-
0
votes1
answer956
viewsAdjust display of a monitor resolution-independent application
I made an application Java And I realized that when it runs on a computer with higher resolution, it gets smaller. How to adjust display of a monitor resolution-independent application?…
-
0
votes1
answer34
viewsTilepane: how to create individual event on buttons
I have a difficulty using Tilepane, I can’t create an event for each button of the array. Follow the code for you to help me. `TilePane tilePane = new TilePane(); tilePane.setPrefColumns(3);…
-
0
votes1
answer633
viewsMaturity of dates
I have this code that validates the dates of a card and puts in the table: @SuppressWarnings("nls") public static ObservableList<String> getPagaVenci1(TableView<PersonC> jtc, String sq4,…
-
0
votes1
answer48
viewsHow to clean Choicebox without losing the items?
I made a ChoiceBox, but a problem occurs; when I leave the stage and then return, the ChoiceBox continues with the previously chosen item. I want that when leaving and then returning, it returns to…
javafxasked 9 years, 6 months ago Carlos Ximendes 267 -
0
votes1
answer326
viewsRun method when initialize class
I have a class called ligacao and when I initialize it (inside a button) I want another method that is within that class( that is started in a third class) to re-export and change from…
-
0
votes1
answer1221
viewsJavafx in the Eclipse
Does anyone know how to install Javafx in the eclipse? I tried to find it on the internet but found nothing useful. If anyone can help, thank you. Eclipse Version: Luna Service Release 2 (4.4.2)…
-
0
votes1
answer420
viewsMinimize jfx window
My window is without the edges of the system. primaryStage.initStyle(StageStyle.UNDECORATED); I created a button to minimize the window but I find Exception by assigning to my stage: @FXML void…
-
0
votes0
answers197
viewsCustomization of Textfield javafx
Hello, I would like to know how to customize my Textfield to leave with this same style ("http://codepen.io/Wakkos/pen/hCquc"), but without color change. I found this code, but I’m having trouble…
-
0
votes2
answers177
viewsImage problem
I made a small app to show my problem; whenever the player makes a sequence diagonally, wins, if no one does that, it’s a draw; don’t look at the fact that the second player will never win... I just…
-
0
votes1
answer1194
viewsPrevent 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 two clicks on the first button, there is a problem... I…
-
0
votes1
answer461
viewsTextfield Javafx catching the event
I would like to know which event that when leaving the object TextField of JavaFx, changes a value of another object. if (textFieldC1.getText().equals("50")) {…
-
0
votes1
answer113
views -
0
votes2
answers985
viewsMultiples Tage with javafx
Good morning, this question is very simple but I’m starting with Javafx and locked in a question, for example, class main with the main screen where will have a button that when clicked will open…
javafxasked 8 years, 6 months ago user33105 -
0
votes1
answer94
viewsCreate a triangular-tipped Listview in Javafx application
I am developing a Javafx application, and I want to make a menu from a Listview, which will be triggered from a button pressed, but I would like to put a triangular tip at the top of this menu as…
-
0
votes1
answer443
viewsTableview does not display data with Javafx
Good morning, I am mounting a layout with tableView loaded with database information and FXML, while running realized that the tableview receives the values of my dao because it displays exactly the…
javafxasked 8 years, 6 months ago Ronaldo Lopes 453 -
0
votes1
answer108
viewsError while trying to change column widths from Tableview
I have a method that increases and decreases the width of my table at the click of a button (it works perfectly): public void toggleTela() { if(this.tblAudiencias.getWidth() == 940) {…
-
0
votes1
answer87
viewsWebapp Doubt - Netbeans Javafx
I am testing to create a webapp in . jar for desktop even, using the NETBEANS Webview Sample Tool - Javafx. The code is as shown below. I’m just looking for a way to remove the address field and the…
-
0
votes1
answer88
viewsPane recovered from fxml file come null
I am trying to recover a fxml file Pane for a controller, for the purpose of adding actions to its components. I am using the @FXML notation to bring this panel to the class, but it comes with null…
javafxasked 7 years, 9 months ago Vinicius G 1 -
0
votes0
answers631
viewsDifference between Scenebuilder and Javafx Application
People I am using Scene Builder 2.0 to make the Layout of my Javafx application. When I see the application through Scene Builder everything is ok, but when I run the Javafx application the side is…
-
0
votes2
answers2574
viewsException in thread "Javafx Application Thread" open FXML inside an Anchorpane
I created a top Menu and want to open the corresponding FXML file inside Anchorpane when I click on a menu item. But it has made the following mistake: Exception in thread "Javafx Application…
-
0
votes1
answer47
viewsOn android which class corresponds to javafx Image class
I have image server implemented in javaEE, in javafx I make an image request to the server that returns an array of bytes, with this result create the image on the client side: ** Image in PNG…
-
0
votes2
answers89
viewsProblems when adding numbers to an Arraylist
My code is like this: public class QuestionarioController implements Initializable { InicioController inicio = new InicioController(); Quiz questionario = new Quiz(); @FXML private Label…
-
0
votes2
answers351
viewsHow to remove the blue border of the tabpane?
I can’t get the blue border pattern that is shown in the event :focused. I’m trying to solve this problem by CSS, but I can’t. My CSS code: .tab-pane .tab-header-area .tab-header-background {…