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
2 answers

JavaFX- MediaView not displaying the video

I have a MediaView on the scene in which I am trying to play the selected video. The video is playing, I can hear the sound, but it's not visible. here's my code: playLocalVideo.setOnAction(new EventHandler() { @Override public…
user4773253
2
votes
2 answers

Saving shapes to file drawn on border pane in javafx

I have a basic application, sort of like a toy box, it doesn't really do anything except let you move shapes around a screen, if you double click the shape, it brings it into the foreground. There is also a menu with menu Items "New, "open", "Save"…
Treeno1
  • 139
  • 1
  • 2
  • 18
2
votes
1 answer

How do I handle pagination when printing text?

I am attempting to send some potentially long text to a printer for... well, printing. Here is a minimal example that demonstrates how I am currently printing text: @FXML private void print() { Text printText = new Text(textArea.getText()); …
Cypher
  • 2,608
  • 5
  • 27
  • 41
2
votes
0 answers

JavaFX 8 TreeView : vertical scrollbar ignores horizontal scrollbar width

Because images are better than words, please find my problem below : ^ This is the right side of my TreeView, no scrollbar at bottom. It's expected because the content is not big enough. ^ Here, you can see that the content is going under the…
Thibaut D.
  • 2,521
  • 5
  • 22
  • 33
2
votes
1 answer

put 2 radiobuttons in one column without overlapping JavaFX

I wanted to ask for help with one problem. I want to move two radio button in one column so that they will both take only as much space as textbox above them. How can I do this? Here is the code and screenshot of current improper version: Please do…
XSorcery
  • 83
  • 1
  • 10
2
votes
1 answer

Issues removing rectangle from group javafx

My goal is to create a program that creates circles at where I click, and create a bounding box based on the locations of the furthest circles from the center. It works just fine, I only have one issue, and that's that I can't seem to figure out…
2
votes
1 answer

Numeric Keypad in JavaFXPorts

I have a javafx application to be deployed in android, I have a textfield in it, but instead of showing the default keyboard(letters,numbers,symbols), I just want to display numeric keypad. How to do it?
Walker
  • 307
  • 4
  • 15
2
votes
2 answers

How to easy customize JavaFX ListCell background color while selecting and unselecting cells

I have the following problem: I have ListView where ViewsRecord has property int favorites. If favorites > 0 it's in favorites, and if favorites == 0 it's a regular row (not favorite). Now what I want to do is: When user selects cells…
DominikStyp
  • 360
  • 6
  • 10
2
votes
1 answer

javafx : how to programmatically change items of ComboBox in TableCell?

as you can see already, i have a TableView which have two columns of ComboBoxTableCell. these are the ancestor values ObservableList ancestors = FXCollections.observableArrayList("1", "2", "3", "4", "5", "6", "7", "8", "9",…
bazi
  • 1,758
  • 5
  • 27
  • 41
2
votes
2 answers

JavaFX Ubuntu stage dock icon does not update

I am developing a JavaFX 8 application that runs cross-platform on Windows/OSX/Ubuntu via JWrapper. Right now I am using stage.getIcons().add(..) to set the stage icon to a 256x256 PNG bundled with the application. This works on Windows, however on…
Sam Johnson
  • 624
  • 1
  • 7
  • 20
2
votes
0 answers

Similar to C# datacontext do we have anything in javafx?

I have a question and tried everywhere in world wide web. So this is my final destination. I am developing an application (ETRM related) using javafx8 which is actually an application which is already developed using c# with wpf in my company. But…
Saravana Kumar M
  • 460
  • 9
  • 19
2
votes
1 answer

How add a column data in other modifying its values by an operation

How can I add the data of one column of the TableView, in other of the same table but doing x operation (like add 5)? In my case I want to add to the outTaxColumn the data of the inTaxColumn * 0.79. Here is the controller //Imports public class…
Marco Canora
  • 335
  • 2
  • 15
2
votes
1 answer

JavaXF 8 ProgressBar and ProgressIndicator with process=-1 memory leak on Linux

Java progress of simple JavaFX application with ProgressBar or ProgressIndicator which progress set to -1 (INDETERMINATE_PROGRESS) gradually uses more and more memory until it fills both ram and swap in just a few minutes. I'm using Fedora 23 x86_64…
blukpun
  • 53
  • 1
  • 5
2
votes
2 answers

Getting a sub-image of a JavaFX Image for use on Canvas

I am messing with game programming in JavaFX, and I made a spritesheet for the graphics. Currently, I am changing the JavaFX Image to a BufferedImage, then using the BufferedImage#subImage function to get a sub image, then using SwingFXUtils to…
Sheikh
  • 539
  • 1
  • 7
  • 29
2
votes
1 answer

javafx8 resize grows never shrinks

I have the following sample code fxml
Walt Corey
  • 718
  • 7
  • 12