javafx-2 Questions
6
Solved
I am trying to style my JavaFX linechart, but can't find any way to set color to specific series. I know, that I can style via CSS, but I can't find how to set ID or CLASS to my series.
Can anyone...
N asked 22/6, 2012 at 9:15
4
Solved
Is there such a thing? I have googled javafx virtual keyboard, but nothing seems to appear that is valid. I saw this article, but no code or example
http://docs.oracle.com/javase/8/javafx/user-int...
11
If I create a ListView:
new ListView<>(FXCollections.observableArrayList("1", "2", "3"))
I would expect it to create a ListView with 3 rows. But it doesn't. It creates a ListView of 17 or ...
Mitzi asked 2/7, 2013 at 15:23
3
Solved
I have a dialog window that is invoked by the following code (DialogController is a helper class for using modal dialog windows; it mainly bundles together a controller reference with its window):
...
Forrest asked 12/5, 2013 at 4:46
2
Solved
I try to find the way to rotate the LinearGradient object nested into e.g. Rectangle object, say:
Rectangle rect = new Rectangle(0, 0, 200, 200);
LinearGradient lg = new LinearGradient(0, 0, 100,...
8
Solved
I'm trying to decide whether I could switch to JavaFX for the user interface of my Java application. Most of my users would be using the Oracle JRE, which has JavaFX integrated these days. However,...
3
Solved
I am trying to add a custom toolbar to a generic TitledPane.
My code seems to work (minimal example follows), but I have problems with layout.
Specifically: I am adding my toolbar using setGraphic(...
5
Solved
I have a collection of buttons:
VBox menuButtons = new VBox();
menuButtons.getChildren().addAll(addButton, editButton, exitButton);
I want to add some spacing between these buttons, without using ...
2
Solved
I like ProgressIndicator, except I'd like to change it's color and circle width. Is it possible (with css or without)?
3
i have undecorate the window in javafx2. Now i want to minimize the window by means of the action. This is my code
minIcon.setOnMouseClicked(new EventHandler<MouseEvent>() {
public void ha...
4
Solved
3
Solved
I am building a JavaFX application using the JavaFX Scene Builder. The interface was created in the Scene Builder and a FXML file (main.fxml) was created.
To use the interface in my application I ...
Interne asked 6/12, 2012 at 23:3
7
I need to show my webview content over parent background pattern. Is there a straightforward way to do it?
3
Solved
Considering the following sample.
How to access to arguments/parameters of the application in the controller?
Thank you.
NB: I've tried to mix App.java and MyController.java in only one Class ...
4
Solved
How do I set tab width of JavaFX TextArea ?
When I use tabulation (tab key) in TextArea, the width of the tabulation is wide. I want to control the width, i.e., use 4 spaces. In the documentation ...
Adapter asked 8/12, 2012 at 1:21
5
I am trying to style my JavaFX linechart but I have some trouble with the legend.
I know how to change the legend color of a line chart in the css file:
.default-color0.chart-series-line { -fx-stro...
Plummy asked 27/9, 2012 at 13:37
3
Solved
I have a PNG image like this:
I want to change image to something like this:
How can I do this in JavaFX?
Rabblement asked 8/8, 2013 at 11:1
2
We can't satisfactorily get the Roboto Thin font displaying in our JavaFX app at the size we want. It suffers from aliasing in the rending.
We took the Roboto font from here. (actually from maven)...
5
Solved
Is there any way of hiding the gray border of an ScrollPane control in JavaFX ?
4
Solved
If I want to add a row of text fields programatically in JavaFx, i can simply use the gridpane add method
This adds a set of text fields to row 1.
for (int i = 0; i < Fields.size(); i++) {
g...
11
Solved
I'm looking for a way to add autocomplete to a JavaFX ComboBox.
This AutoFillBox is known but not what I'm searching.
What I want is a editable ComboBox, and while typing the list should filtered. ...
Sibel asked 12/11, 2013 at 9:0
3
Solved
I'm trying to create a TextArea,
@FXML
private TextArea ta;
and what I'm trying to get :
for (int i=1; i<=5; i++) {
ta.setText(" Field " + i + "\n");
}
but it only show the last line :...
6
Solved
I am trying to get a TextArea to autoscroll to the bottom with new text which is put in via an event handler. Each new entry is just one long string of text with each entry separated by a line brea...
2
Solved
I am developing a application where I need some widgets to wrap up inside a panel. And I want to put a border around it. I am a swt programmer where in composite I can pass swt.border to put border...
4
Solved
I want to load up to nine panels in a TilePane. For each pane I have to first run a computation of the content (about 300ms) and then I have to build the Panel (about 500ms).
What I want is, that t...
© 2022 - 2024 — McMap. All rights reserved.