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...
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
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...
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...
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...
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 ?...
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>() {
...
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...
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?
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
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...
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 ...
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 ...
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....
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 ...
4
Solved
How to convert Integer To ObservableValue<Integer> in javafx 2.0 and later ?
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...
4
Solved
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...
4
How can I set the background image of a scene?
© 2022 - 2024 — McMap. All rights reserved.