Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
126 views

I want some styled, non editable text in a JavaFX app. I've been using TextFlow objects with Text children and CSS styling, all specified by FXML. I see my Text elements are pushed together (see image)...
Peter Hull's user avatar
  • 7,149
1 vote
1 answer
67 views

I have an application, where the ParentView consists of a horizontal SplitPane with two buttons at the left side to choose a ChildView, which is embedded at the right side. With the two ParentView ...
Cptn Bluebear's user avatar
1 vote
1 answer
58 views

Using FXML, can I only put a child.fxml into the parent.fxml, and then fill out the values from the parent? For example: child.fxml: <HBox xmlns="http://javafx.com/javafx" xmlns:...
Akash Jain's user avatar
0 votes
0 answers
36 views

i am trying to include a suggestion box (similar to VSCode's code completion box) in richtext's codearea. But it faces major issues: cursor doesn't change when the mouse is inside the suggestion box, ...
Mick Lennar's user avatar
2 votes
1 answer
139 views

'm building a JavaFX application using Maven, and I'm trying to use Ikonli with FontAwesome icons. However, I keep getting this runtime error Caused by: java.lang.UnsupportedOperationException: Cannot ...
Samir Oulhabi's user avatar
0 votes
0 answers
92 views

I am trying to create a pane containing a label and having various buttons on its border. I am new to JavaFx and I do not know if the way I used is the best, however I doubt it since I encounter a ...
Vincenzo Bova's user avatar
0 votes
1 answer
116 views

Project Details: remarque: i am not using jar now Her is The Project Structure: enter image description here Image Location: The image eco-house.png is located in the path src/main/resources/image/...
Samir Oulhabi's user avatar
1 vote
0 answers
34 views

I'm trying to create a UI that has a home button on the top left and a logo image on the top center. I just can't seem to align these two objects so that they're both in the right position... Can you ...
Vincenzo Bova's user avatar
-3 votes
1 answer
68 views

I have some text On my JFXToggleNode and I want to bold the text when it is selected What I have try so far .menuToggle:selected .text { -fx-font-weight: bold; } Actual result: nothing changes. I ...
yongchang's user avatar
  • 511
2 votes
1 answer
157 views

I am trying to create a basic project as I am new to JavaFX. After some digging around, I found out that: TextArea can provide selectable text, but cannot provide colorable text. TextFlow can provide ...
I Noob's user avatar
  • 21
0 votes
0 answers
33 views

This controller class is the controller class of Simulator.fxml Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: javafx.fxml.LoadException: /C:/Users/f/...
devbot's user avatar
  • 1
2 votes
1 answer
78 views

I am building a simple application with JavaFX + Afterburner.fx. When running mvn clean javafx:run, I get this error: File: recipelistpresenter.fxml not found, attempting with camel case Cannot load ...
mopmop's user avatar
  • 41
4 votes
0 answers
108 views

I'm trying to create custom UI components in JavaFX and use them in an FXML file. JavaFX provides the fx:root tag for this purpose, which allows a custom class to be set as the root component. ...
McRender's user avatar
1 vote
0 answers
74 views

I'm making a dictionary application with JavaFX and Kotlin. Here is my code: <VBox spacing="20" alignment="TOP_CENTER"> <HBox spacing="20" alignment="...
Tomato105's user avatar
0 votes
1 answer
123 views

I am trying to find in JavaFX Scene Builder 23.0.1 the property "managed" but cannot find it. Has anybody else an idea? Below is an example code: Package name: package com.example.demo; ...
Billie's user avatar
  • 357
0 votes
1 answer
66 views

I'm working on developing my programming skills and am building a UI application in JavaFX because Java is my strongest language. Unfortunately I've found building the UI tedious at best using FXML. I ...
TheOrnithologist's user avatar
0 votes
1 answer
71 views

I created a login screen in Java that has two buttons: Login and CreateAccount. These buttons were working initially, but after I started working on a different screen, they suddenly don't work ...
The Real Kenny G's user avatar
2 votes
1 answer
136 views

I'd like to make my application resizable. I want to resize all child elements and its font size and images depending on the height and width. I followed the instructions on the following page: Bond ...
Billie's user avatar
  • 357
1 vote
1 answer
48 views

I'm working on a simple client-server project. The function of it doesn't really matter because I'm having a problem with the client list in my server UI. It uses FXML and has a listView to list the ...
Arda's user avatar
  • 15
1 vote
1 answer
393 views

I'd like to make my application resizable. I want to resize all child elements and its font size and images depending on the height and width. But I do not want that font size and image fall under or ...
Billie's user avatar
  • 357
0 votes
0 answers
83 views

This the 1st problem scenario: When I run this program. which is a javafx UI using .fxml. it runs well when I run it using mvn exec: through maven project configuration. but doesn't run on default ....
Aero's user avatar
  • 11
1 vote
0 answers
56 views

I created a JavaFX dialog in SceneBuilder. After playing probably an hour with the different layout attributes I can't find out how to open the stage in way, that all ui elements are properly ...
Alex's user avatar
  • 1,819
0 votes
0 answers
91 views

I'm working on a JavaFX project using NetBeans, and I've encountered an issue with loading an FXML file. Originally, my VentanaLogin.fxml file was in the practica6.main package, but I moved it to a ...
JavaMan's user avatar
0 votes
1 answer
218 views

It's my first time here but here goes: I have a JavaFX application that changes the FXML UI labels dynamically. I want to pass the details from the MainController class to the interface but I get an ...
Cristian PP's user avatar
0 votes
1 answer
72 views

I need to get a resource FXML file in a Java project. Here's my code: public void start(Stage stage) throws IOException { try { // System.out.println(getClass()); URL url = this....
Hải Võ's user avatar
0 votes
1 answer
31 views

The issue is not being able to introduce sufficient flexibility to render a TreeTableView when the sources of data required for the view are not known before the program is run. My objective is to be ...
Rusty's user avatar
  • 169
0 votes
0 answers
62 views

I'm working on a JavaFX application for a school project, and I've encountered a frustrating issue. The ComboBox in my MainController initializes correctly, but clicking on any of the buttons in the ...
IO DHarby's user avatar
5 votes
1 answer
87 views

Setting a custom font style on a TextField in JavaFX will also affect its default context menu, I noticed. What can I do to change the font of the user input, but keep the menu items in the context ...
user1438038's user avatar
  • 6,128
5 votes
1 answer
109 views

Hey all I am needing a hand with the following: I am trying to add the "On Action" to my custom control I create in Scene Builder 2.0. I will have a couple of these in my scene so I am ...
StealthRT's user avatar
  • 10.6k
2 votes
1 answer
90 views

One of the window my program has, is a TextFlow that is filled by an API, it was working fine with the window being semi-transparent but after some time the amount of information was way beyond the ...
Carlos's user avatar
  • 21
0 votes
1 answer
61 views

I am developing a Login Dialog for a Smart Card Token Management with Certificate System. Below, I added example code to demonstrate the issue. If I start the application I first see a login dialog ...
Billie's user avatar
  • 357
0 votes
0 answers
96 views

I am working in a JavaFX project. There I have fxml included in other fxml files. Now I need to send data from the outer controller to the inner controller. I've tried it, but the combobox looses its ...
PalBeron's user avatar
1 vote
1 answer
2k views

Despite having followed every procedure exactly as specified to install an alternative to Nashorn in Netbeans 22, I still get the following error when trying to build a FXML project: Java 15 has ...
Rusty's user avatar
  • 169
0 votes
1 answer
85 views

I'm currently working on a Pokémon fangame, and I have a problem (not the last). So here is the thing, since it's a round by round game, I have to do this: Decide which Pokémon attack first. Change ...
killian GRAS's user avatar
1 vote
1 answer
137 views

I want to write reusable, composable JavaFX/FXML components in Kotlin. I am using Java 21 and my JavaFX is provided by gradle at version 22.0.1 My main class is loading the initial scene in a window ...
jc0022's user avatar
  • 90
3 votes
1 answer
65 views

I'm trying to detect if mouse is moving over the entire scene or not to close the app after 15min of inactivity. In the example I have an Anchorpane occupying the entire scene with an OnMouseMoved ...
froggy's user avatar
  • 602
2 votes
2 answers
255 views

I created a JavaFX ComboBox with JavaFX Scene Builder 21.0.0. <?xml version="1.0" encoding="UTF-8"?> <?import javafx.scene.control.ComboBox?> <?import javafx.scene....
Billie's user avatar
  • 357
3 votes
1 answer
66 views

I am studying the official FXML documentation and have encountered some issues. public class FxmlTest extends Application { public static void main(String[] args) { launch(args); } ...
XiaoJiawei's user avatar
1 vote
1 answer
113 views

I'm working on a javafx application so naturally I've had to use Scene Builder to display and manipulate fxml files. Everything seemed to be working fine until I decided to create a custom TableView ...
Ali Yahya's user avatar
-1 votes
1 answer
49 views

This is the class definition of PostView, which is also the controller class for its fxml file. I am trying to make a javaFX social media app for a university assignment (due in a couple hours lol) ...
TheMaro's user avatar
0 votes
1 answer
107 views

I want to display a certain image in javaFX so I am creating it in the FXML file to manipulate it later on in controller.java file but I keep getting errors after errors. this is the lastest one ...
Zahra 's user avatar
  • 85
0 votes
0 answers
56 views

I have an application I am working on with a teammate, but we both are not sure how to change our Scene's title and parameters from inside our fxml controllers. This is the solution I tried, but it ...
Enrico Sombini's user avatar
0 votes
0 answers
66 views

I am developing a javafx application for network topology. I have one pane where I drag the components from the left pane to the centre pane. Now the problem is sometimes if the pane is cluttered with ...
BEdits's user avatar
  • 31
0 votes
0 answers
44 views

I have a fxml file i am currently working on with a GridPane with each of the cell containing anohter fxml component in following manner: <GridPane hgap="10.0" layoutX="32.0" ...
Arpan's user avatar
  • 35
2 votes
1 answer
159 views

If keyframe animation can be specified in FXML, then a lot of file formats containing animations can be ported to FXML without information loss. I'm aware of the simpler variants like RotateTransition....
Johannes Riecken's user avatar
0 votes
1 answer
68 views

Background for our application (can be skipped if u dont think it is relevant): We are creating an application for kids with autism to identify and understanding gestures and facial expressions. We do ...
onuk98's user avatar
  • 11
4 votes
1 answer
74 views

My Professor at university gave this assignment to start a new topic in class. Just a simple GUI which is supposed to show a graph. 3 Files were prepared by our Prof: Function Canvas package Aufgabe1....
Marius's user avatar
  • 43
1 vote
1 answer
157 views

I have a javafx TabPane that I want to be able to print. The TabPane has two tabs, and I want each tab to be printed on its own page. I created a button on one of the tabs with the onAction function ...
Kameron's user avatar
  • 31
1 vote
0 answers
21 views

Im making a weather app in which I am using a weather controller along side scenebuilder to controll actions within the app. I am trying to make a text box display the current temp which I have set to ...
Christian Bekheit's user avatar
0 votes
2 answers
162 views

Autocompletion/code suggestions for .fxml files in IntelliJ IDEA are not working. I tried to open project on other machines with latest IntelliJ IDEA (2024.1), it works. I using IntelliJ IDEA 2022.3.3
stevegrkek's user avatar

1
2 3 4 5
73