Questions tagged [javafx]

Ask Question

The JavaFX platform enables developers to create and deploy Graphical User Interface (GUI) applications that behave consistently across multiple platforms. JavaFX 1.3 and older, were scripting languages, whereas JavaFX 2.x+/8.x enables users to use Java. FXML enables JavaFX to follow an MVC architecture.

36,833 questions

0votes0answers14views

Error in prepared statement: user lacks privilege or object not found

Error from the following code: Error:(UCAExc:::4.x.x user lacks privilege or object not found: Doctor Credentials in statement try { // Class.forName("net.ucanaccess.jdbc.UcanaccessDriver&... user avatar HAFIZ MUHAMMAD ZAMAN KHAN

  • 1
-1votes0answers24views

Memory Leak in JavaFX application in Service Threads [closed]

I'm making a JavaFX application where when a user selects a certain name from a ComboBox, it reads a .ser file with that name using a Service in JavaFX (Thread). Here is the code of the Combo Box ... user avatar Xx_MLG SWAGGER_xX

  • 1
0votes0answers26views

JavaFX choppy with NVIDIA G-SYNC

I have a simple UI, no animations. Enabling G-SYNC for windowed applications and having focus in the window causes the mouse to be choppy when moving over the whole monitor. FRAPS shows that the ... user avatar Meo

  • 11.3k
0votes0answers20views

JavaFx handleEvent function not updating the variables stored in other class [duplicate]

I am building a UI for user input and another UI for displaying histogram. I have developed two UIs and tested them separately. Each works perfectly, but when I try to compile them together, an error ... user avatar James tan

  • 25
-2votes0answers42views

Remove from Pane all Rectangles in 2D Rectangle array [closed]

I am working on making a version of Tetris using JavaFX. When a full line is made, I am trying to clear all Rectangles from the game board Pane. I have another method that is clearing the Rectangles ... user avatar Khardrix

  • 5
-1votes0answers14views

How to treat NumberFormatException for tableView cell editing? (JavaFX)

Is there a way to catch NumberFormatException error and output an error mesage? I tried to put the code in try-catch, but it has no effect, any ideas? Here's the code part with cell editing: public ... user avatar SomeRandomDude

  • 1
0votes1answer36views

How can I keep background image stretched to gridpane on resize?

I'm trying to use a gridpane with a background image (an image with defined edges, not a continuous texture) . The image needs to stretch with the gridpane when resizing the app. However, it doesn't ... user avatar Lofi Peng

  • 3
-2votes2answers46views

JavaFX How to make HBox use only the width it requires inside VBox

I have a HBox inside a VBox and while most questions seem to be asking how to get the HBox to use the whole width of the VBox it is contained in, I require the opposite. I have buttons inside the HBox ... user avatar Hasen

  • 10.1k
0votes1answer49views

SQLException on database connection: No suitable driver found for jdbc:mysql://localhost:3306/smtbiz

Problem: I am trying to create a self contained file for running my JDBC application which interfaces with a front end created using javafx. The program works perfectly fine when running it from the ... user avatar TurtleTaco

  • 9
0votes1answer26views

How to force showing the popup part of a ComboBox in JavaFX

I want to be able to always show the popup part of a combobox regardless of the fact it has been clicked or not, or even without the combo being focused. I tried to use the show() method of the combo, ... user avatar Hervé Girod

  • 343
-1votes0answers25views

Move Nodes inside Gridpane per dnd in JavaFX

I am in the process of developing a kanban board program. I put the individual entries in a split pane that I insert into a grid pane. These entries should be moveable by drag and drop. Up to this ... user avatar DanielaS

  • 1
0votes1answer29views

How to add JavaFX javadocs to vscode when not using build tools

I would like to add the documentation for JavaFX to vscode so that when I hover over functions it tells me what they do. I have downloaded the Javadocs from the JavaFX website but I don't know what to ... user avatar Wispy

  • 3
3votes1answer61views

JavaFX Layout issue in TreeView

Recently I updated my application from JavaFX 8 to JavaFX 18. After the migration I found some weird issues related to layout of TreeView. If I understand correctly, by the end of a scene pulse, all ... user avatar Sai Dandem

  • 6,011
-1votes0answers22views

In JavaFX, how to add mnemonic key combination binding from a FX Controller?

I'm using openJfx 17, Java 11, with maven. I want to add the mnemonic key combination binding of a control to a scene, in a JavaFX controller, or other codes. As described from the web, codes like ... user avatar sdrkyj

  • 31
0votes0answers29views

Adding an array of custom components built with Scene Builder

I am creating a simple planning JavaFX 8 program using Scene Builder. My program consists of multiple controllers going from one screen to the other as the user advances the program. I have created a ... user avatar hues

  • 1

153050per page

1 2 3 4 52456

You Might Also Like