javafx-2 Questions

2

JavaFX's ScrollPane panes on all mouse events when allowed to pan: scrollPane.setPannable(true); How to limit the ScrollPane to pan only on middle mouse events, while still allowing all events...
Dilatant asked 5/2, 2016 at 19:58

2

I want to make my .fxml application to not be resizeable, but I am not able to uncheck "Resizeable" check box on any anchorPanes, the option is greyed out. The same thing happens even on a new, com...
Demolition asked 9/1, 2014 at 13:13

5

Solved

I want to ask if there is any method to add JavaFX into Maven Archetype list in Eclipse or any plugin to use Maven to build JavaFX Application.
Outfit asked 21/12, 2015 at 3:1

2

Solved

I'm looking for form validator similar to these examples: or Is this custom JavaFX component or this can be done using standard JavaFX? Is there any example how I can create form validator s...
Chanty asked 10/5, 2014 at 9:34

4

Solved

I'm trying to make my Pane a little bit better, visually, so, what I'm doing is: set my stage UNDECORATED (OK) and (TRYING) to add a drop-shadow effect (NOT OK). I've found some similar cases, thou...
Lorenzen asked 10/7, 2013 at 13:14

4

I have a multiline label whose text has a chance of overrunning. If it does this, I want to decrease the font size until it isn't overrunning, or until it hits some minimum size. This would hopeful...
Elanorelapid asked 12/7, 2013 at 18:39

4

Solved

I stumbled on (in my eyes) a silly problem. However I don't find a solution for this (maybe because of not using the right search keywords, or by making it too difficult when it can be easy..) Scen...
Rawhide asked 13/11, 2012 at 14:35

5

In JavaFX, if I have a scene with 2 VBox elements and each VBox has multiple Label in it. If I set the top VBox to invisible, why does the bottom VBox not move up the scene where the top VBox was ?...
Cantle asked 17/2, 2015 at 9:5

4

I have the following piece of code to update both the color of a column cell and its corresponding row: calltypel.setCellFactory(column -> { return new TableCell<CallLogs, String>() { ...
Principally asked 17/6, 2015 at 11:5

2

Solved

When to use translate and when relocate in order to move a node? In the end of the day it seems they do the same thing (visually); move the node; the first by doing a translation on the origin (the...
Vershen asked 3/3, 2015 at 15:44

2

Solved

I have made a simple JavaFX application, but I would like the main window to open a secondary window when the user clicks a button. What would be the simplest way to accomplish this?
Brahmani asked 7/1, 2014 at 4:4

7

Solved

Below code snippets is giving me error Not on FX application thread; currentThread=JavaFX Application Thread.This application was working fine in java 1.7 but when i moved it to fx8 it is now givin...
Transition asked 13/1, 2014 at 4:34

3

Solved

I have a presentation class storing an XYChart.Series object and updating it by observing the model. The Series updating is done by using Platform.runLater(...) I want to unit-test this, making su...
Rebroadcast asked 2/4, 2014 at 19:26

17

Solved

Is it possible to change the application icon using JavaFX, or does it have to be done using Swing?
Selfdetermination asked 12/4, 2012 at 10:43

3

Solved

I am trying to chance the icon of the exe file while creating native bundling of javafx packaging. I tried adding icon into pom.xml but till it wont work out for me as it gives default icon Using I...
Ferretti asked 8/4, 2013 at 13:17

6

I'm unable to make a JavaFX MenuBar show as a standard OS X menu bar, at the top of the screen. Here's what I've tried in my subclass of Application: public void start(Stage primaryStage) throws ...
Pamper asked 21/3, 2014 at 20:36

2

i use selectionAll() to select the whole text in my textfield but it just works when the focus comes from keyboard (like Tab). If i click with my mouse in the textfield, it selects the text just ...
Kreda asked 19/2, 2013 at 19:0

1

I am trying to close a sub window programatically after certain time. This sub window initOwner is set with main stage. But on closing this sub window, the main window is getting focused. Is there ...
Proudfoot asked 2/7, 2019 at 0:17

5

Solved

I've been inspecting the "caspian.css" distributed by Oracle in the JavaFX runtime library, and I see they have declared some color values as variables. Eg: -fx-base: #d0d0d0; // Caspian....
Cain asked 26/11, 2012 at 13:50

3

I have an url, I am trying to open that url in web view of JavaFX but the content was not compatible with web view. It's only compatible to the chrome and firefox. So I would like to open that Url ...
Calc asked 16/6, 2014 at 8:2

4

Solved

How to convert Integer To ObservableValue<Integer> in javafx 2.0 and later ?
Nakada asked 19/1, 2013 at 9:44

2

Solved

I am experiencing an issue when resizing a TableView which contains text items that wrap around TableCell items. Upon resizing, hidden values are resized but the visible items do not re-calculate t...
Hydrated asked 29/3, 2014 at 13:57

4

Solved

Is there a way to remove the default space (padding/margin) that JavaFX label adds? I want to get rid of the space displayed between the black lines on the image below: Source code: public clas...
Harl asked 18/12, 2015 at 16:23

2

Solved

I'm trying to load a custom font in JavaFx css using this method @font-face { font-family: 'Roboto'; src: url('fonts/Roboto-Medium.ttf'); } I've done every thing proper with the correct path b...
Cruelty asked 28/11, 2015 at 16:57

4

How can I set the background image of a scene?
Extreme asked 16/3, 2012 at 13:28

© 2022 - 2024 — McMap. All rights reserved.