javafx-2 Questions

6

Solved

I want to use font font awesome in my project but I have no idea how to use font awesome in my project. I had found some example but they can't be use in fxml. font awesome javafx I need help h...
Helmick asked 26/6, 2014 at 12:7

3

Solved

It takes JavaFX 15 minutes to build described LineChart which doesn't work for my task. Similar implementation using good old Swing and jFreeChart takes 1.5 seconds to build chart. But I would s...
Lehmann asked 4/3, 2015 at 8:57

3

Solved

How I can set the width of a TextField in JavaFX? TextField userTextField = new TextField(); I tried this: TextField userTextField = new TextField(); userTextField.setPrefWidth(80); But I don...
Stogner asked 7/11, 2013 at 18:10

9

Solved

The embedded WebView browser I am using needs special handling for particular URLs, to open them in the native default browser instead of WebView. The actual browsing part works fine but I need to ...
Weizmann asked 21/3, 2013 at 18:37

4

Solved

I have a line chart with many series. These series are grouped into one or more super-series. Each super-series may have many "breaks" in the line in order to accurately depict when a monitor proce...
Fullerton asked 7/1, 2014 at 22:17

3

Solved

I would like to create buttons like these for settings panel navigation: Can you tell me how I can create this hover effect over the icons? The most difficult part for me is to create CSS code w...
Rascon asked 22/11, 2013 at 11:15

9

How to remove JavaFX stage buttons (minimize, maximize, close)? Can't find any according Stage methods, so should I use style for the stage? It's necessary for implementing Dialog windows like Erro...
Koumis asked 1/12, 2011 at 12:20

3

Solved

The ScrollBar class in JavaFX contains a property for setting the unit increment, which is what I'm after - however I can't find how to get at this ScrollBar, or set the unit increment some other w...
Portal asked 16/7, 2013 at 21:18

3

Solved

Is there any way to make fullscreen(and if possible resizing too) to instead of rearranging everything (actually what it does is to rearrange the elements like resizing but to the whole screen) to ...
Yamen asked 17/5, 2013 at 9:51

2

Solved

I just want to create copiable label in JavaFX. I have tried to create TextField that have no background, have no focus border and default background color, but I have no success. I have found a l...
Illation asked 20/3, 2014 at 13:12

3

Solved

How to change the highlighting color in JavaFX? Usually it is blue with gradients, but I would like to have a green highlighting. I have tried the following: .root{ -fx-shadow-highlight-color: #C...
Intrigue asked 2/1, 2013 at 17:32

13

Solved

In my Java Desktop Application I have a TableView in which I want to have a column with CheckBoxes. I did find where this has been done on Jonathan Giles's website http://www.jonathangiles.net (the...
Tracheid asked 27/8, 2011 at 21:57

3

Solved

I am trying to catch the events on the JavaFX Slider especially the one which indicates that the drag stopped and was released. At first I used the valueProperty with mock-up code like this slider...
Hypotension asked 19/9, 2013 at 10:20

3

Solved

I have an application with login screen, after the user is authenticated some "data" is retrieved from a database (username and privileges), until here everything is well. After the login process...
Submarine asked 1/10, 2017 at 0:3

5

Solved

I am currently using a normal java project (gradle project) and want to convert this into a JavaFx project without having to reimport the existing sources into a new Javafx project. Is there any wa...
Maldon asked 2/5, 2014 at 5:24

2

Solved

I have a program which loads many fxml files when executed. The application will be finished in a short time, and loading the application just takes too long. There are many fxml files (20+) and a...
Protomorphic asked 6/6, 2014 at 8:36

4

Please take a look at this image: https://i.sstatic.net/pFKKg.png Is it possible to change the application name ("My JavaFX-based Mac App") in the Mac OS X system menu bar at runtime after the app ...
Hardin asked 17/9, 2013 at 19:1

4

As the title says, my question is, how can I prevent/cancel closing of primary stage in JavaFX 2.2? I have done some research on Google, and the following two links seemed to address the issue: P...
Tonjatonjes asked 8/6, 2013 at 21:13

2

Solved

I have a simple Scene with this code: scene.getStylesheets().add("packagename/testcss.css"); And my testcss.css is: .button { -fx-background-color: #DDFFA4; } .button:hover { -fx-background...
Superscribe asked 25/10, 2012 at 18:0

2

I have an issue when i try to rotate the label by 270 label.setRotate(270). But label text disappear . That is the code sample. LineChart chart = new LineChart(new CategoryAxis(), new Number...
Rubadub asked 4/6, 2013 at 15:16

2

Solved

I need to set allignment of the text in a TextField to right. There is no such under TextField. Anybody knows how to set alignment in a textfield in javaFX 2.0 ? Thanks
Tewell asked 6/12, 2011 at 11:16

3

Solved

I have the following FXML: <ChoiceBox> <items> <FXCollections fx:factory="observableArrayList"> <String fx:value="2 minutes" /> <String fx:value="5 minutes" /> &...
Jounce asked 15/8, 2013 at 1:28

2

I have this code which creates new tab in a remote Java Class. treeView.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<TreeItem<String>>() { @Override pub...
Acrodont asked 27/6, 2013 at 16:23

4

Solved

I am trying to change the background color of my TextField "colorBox0" to "value0" but it gets rid of the border. Here is a simplified version of my code: static Paint value0 = Paint.valueOf("FFF...
Topo asked 30/12, 2014 at 5:25

5

JavaFX's TableView has a placeholder property that is basically a Node that gets displayed in the TableView whenever it is empty. If this property is set to null (its default value), it appears as ...
Are asked 7/6, 2013 at 20:43

© 2022 - 2024 — McMap. All rights reserved.