Questions tagged [javafx-8]

JavaFX 8 (previously named JavaFX 3) introduces a new API for JavaFX technology. JavaFX 8 supports 3D and brings up a Retina-Display Support. It is part of the JDK8.

JavaFX 8 is part of the JDK 8

Useful resources:

JavaFX-2 links, actual for JavaFX-8 :

Testing JavaFX-2+ applications :

Declarative languages for JavaFX :

OpenJavaFX links :

JavaFX Scene Builder links :

Blogs and news sites about JavaFX :

Projects, complementing and extending basic functionality of JavaFX :

Books about JavaFX 2 technology :

Personal blogs, by people, who write about JavaFX :

Use javafx-2 tag for questions, related to JavaFX 2+ (versions 2.0+), which is the prequel of javafx-8.

Use JavaFX 2 bug tracker to file and track issues about bugs and incompatibility (having previously checked, that dublicates are not existing already, and it is not an intended change).

5923 questions
2
votes
1 answer

JavaFX - DatePicker always returns null

DatePicker is not updating after change date. I was looking for an answer and i found this topic: JavaFX datepicker not updating value , but it doesn't work. My listener for DatePicker: public void datePickerListener() { this.datePicker = new…
Konrad
  • 43
  • 6
2
votes
0 answers

Activate multiple selection for TreeView in FXML

Is it possible to activate multiple selection for a JavaFX TreeView with FXML? If you want to set the selection mode programmatically, you would call treeView.getSelectionModel().setSelectionMode(SelectionMode.MULTIPLE); But how can that be…
christoph.keimel
  • 1,240
  • 10
  • 24
2
votes
0 answers

JavaFX forward/backward mouse buttons

is there any way to catch more than the left/right/wheel-mouse buttons? Like mouse4 and mouse5 (located at the side). Thanks Limo
Limo
  • 21
  • 1
2
votes
1 answer

Scatter chart with connected dots javafx

I am learning javafx for creating GUI. I want to implement a simple line chart of X-Y NumberAxis. As per the property of line chart, the lines connecting the data points never intersect. For example - Suppose for data points …
code_poetry
  • 333
  • 1
  • 6
  • 16
2
votes
1 answer

Check for wrapped elements in JavaFX-FlowPane

Is there an easy way to check for wrapped elements inside a FlowPane or determine the index at which the elements are wrapped?
Dmitrij D
  • 25
  • 3
2
votes
2 answers

Using POJOs as model layer in JavaFX application

I'm creating simple JavaFX application. I want my model layer to be completely independent from JavaFX - no StringProperty, IntegerProperty and etc. as fields. I want it to be POJO. Main reason to do so is that I want it to be Serializable. I've…
Sebastian Osiński
  • 2,894
  • 3
  • 22
  • 34
2
votes
2 answers

Why my TableView not getting refreshed or auto updated?

I tried a lot but my value entered in the textfield is not getting populated to tableview when add button is clicked.Please give me a solution to populate values into the tableview whenever i click on add button ! public class Refreshtable …
Seban
  • 184
  • 4
  • 20
2
votes
1 answer

Can I display an image with JavaFX8 without the OpenGL overhead?

I'm trying to write a simple FX8 image display program on the Raspberry Pi2 with only 64MB of GPU memory. This results in a NullPointer Exception at com.sun.prism.impl.BaseGraphics.drawTexture attempting to render the ImageView. This is with the…
Autumn
  • 3,214
  • 1
  • 20
  • 35
2
votes
1 answer

JavaFX - How to disable/turn off WebViews HTML Renderer

As in the title: Is it possible to deactivate/turn off the JavaFx WebViews HTML Rendering Engine? I would like to see the raw HTML-Code in the same WebView-Component. Changing the contentType to text, results in an empty WebView: String content =…
Ben
  • 3,378
  • 30
  • 46
2
votes
1 answer

JavaFX8 KeyEvent - Trigger Backspace Key on a TextField

I'm trying to trigger backspace key on virtual keyboard for touch based system. this is my code which I tried so far. Button source = new Button("Backspace"); TextField target = new TextField(); KeyEvent ke = new KeyEvent(source, target,…
Hiran
  • 287
  • 4
  • 19
2
votes
1 answer

JavaFX - stage.show(); ending in program freezing

I'm trying to write a class to open an external program, make a stage that says "Please wait" with a progress indicator, wait for it to finish, then exit the stage. If I use primaryStage.showAndWait(); the program works, but if I use…
Techdroid
  • 23
  • 4
2
votes
1 answer

Is there a way to prevent a transparent Stage + Scene from showing up the first few milliseconds?

I already searched on google and here for a few hours but didn't find any answer for this problem. I want to create an application, which will only contain icons. It doesn't have any purpose. It's just for me to practice JavaFX. But I can't figure…
Ulli
  • 21
  • 1
  • 2
2
votes
3 answers

JavaFX get access to a Tab or TabPane from a TabContent(Node)

Is there a way to get a reference to Tab or TabPane without no improvised way if you have reference to only the Node inside the Tab for eg TabPane tabPane = new TabPane(); Tab tab = new Tab(); tab.setText("new tab"); Rectangle drect = new…
Elltz
  • 10,730
  • 4
  • 31
  • 59
2
votes
1 answer

how to change background color to imageView in javafx

I have a ImageView with a transparent image (PNG) therefore the image doesn't fill the complete rectangle of the image view, when mouse hover over the image view I want to change the background color of only the rectangle of the image view. In Css…
Sredny M Casanova
  • 4,735
  • 21
  • 70
  • 115
2
votes
1 answer

JavaFX canvas - draw only when the canvas is visible

I'm considering porting our internal automotive/measuring application from Swing to JavaFX, mainly because of the better look and multitouch support, but I can't find a way to render custom components only when they are visible. For motivation,…
Tomáš Dvořák
  • 1,490
  • 1
  • 9
  • 20