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

JavaFX: How to bind TextField with ObservableList and update those data into tableview?

Trying to make a dictionary using JavaFx. Here is my Controller class- public class MainUIController implements Initializable { DatabaseManager db=new DatabaseManager(); ObservableList MeaningList; @FXML private…
Abdullah Al Imran
  • 1,166
  • 2
  • 17
  • 30
2
votes
3 answers

JavaFX css border-radius issue

I am trying to simulate the effect one would get from this css example: border-radius: 50%; From searching the API and reading posts on forums including this one, I found that I should be using -fx-background-radius. This however is not giving me…
miniwolf
  • 339
  • 1
  • 4
  • 19
2
votes
1 answer

How to modify the object of a javafx object property calling change listeners?

I have a javafx.beans.property.ObjectProperty. How can I modify the Calendar, so that javafx is registering it and the change listeners are invoked? So, when I try to set the calendar field Calendar.YEAR is there a better solution than…
2
votes
1 answer

How to show Image as tooltip in JavaFX?

I would like to show an image as a tooltip. It works OK but at some random points it shows fluctuation. I want to show it normally without getting fluctuate. I show a new scene (in which i added my image-view with image) on mouse enter event and…
Amita Patil
  • 1,310
  • 2
  • 14
  • 22
2
votes
2 answers

JavaFX WeakReference memory leak when drawing charts

I encountered a memory leak I just can't fix in my code. Scenario: The user opens up a new window, in which a chart is drawn (in this case a LineChart). But when the window is closed, java.lang.ref.WeakReference and…
S.T.K
  • 31
  • 6
2
votes
1 answer

JavaFX comboBox not selecting all text when comboBox gets focus

I am writing a javaFx application that uses some editable ComboBox controls. I want that when such a ComboBox gains focus, then the text that is there in the ComboBox gets highlighted. So I have this code below: @FXML ComboBox…
Blip
  • 3,061
  • 5
  • 22
  • 50
2
votes
1 answer

How to define nested columns in JavaFX within the fxml file?

I would like produce the following table using fxml: So, I wonder how can I nest the columns Primary and Secondary inside Email Address?
lmiguelvargasf
  • 63,191
  • 45
  • 217
  • 228
2
votes
1 answer

Is it possible to do templating with FXML

I was wondering if it was possible, using FXML, to do templating like it is possible with Twig in PHP (and surely lots of other template motors) Using Twig you would have a view like this : layout: {% block title %}My…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/user-interface" class="post-tag grid--cell" title="show questions tagged 'user-interface'" rel="tag">user-interface</a> <a href="../../questions/tagged/javafx-8" class="post-tag grid--cell" title="show questions tagged 'javafx-8'" rel="tag">javafx-8</a> <a href="../../questions/tagged/fxml" class="post-tag grid--cell" title="show questions tagged 'fxml'" rel="tag">fxml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 13 '16 at 12:15">asked Jun 13 '16 at 12:15</time> <a href="../../users/4666416/francois-dupire" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4666416.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="François Dupire" /> </a> <div class="s-user-card--info"> <a href="../../users/4666416/francois-dupire" class="s-user-card--link">François Dupire</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">585</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="11 silver badges">11</li> <li class="s-award-bling s-award-bling__bronze" title="32 bronze badges">32</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37759134"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37759134/javafx-trianglemesh-rendering-incorrectly" class="question-hyperlink">JavaFX TriangleMesh rendering incorrectly</a></h3> <div class="excerpt">I built an OBJ to JavaFX triangle mesh parser and imported the monkey head sample model from blender but it doesn't render correctly. It almost seems to have a wallhack like effect. This link has the obj I'm trying to import as well as a video…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javafx" class="post-tag grid--cell" title="show questions tagged 'javafx'" rel="tag">javafx</a> <a href="../../questions/tagged/javafx-8" class="post-tag grid--cell" title="show questions tagged 'javafx-8'" rel="tag">javafx-8</a> <a href="../../questions/tagged/javafx-3d" class="post-tag grid--cell" title="show questions tagged 'javafx-3d'" rel="tag">javafx-3d</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 11 '16 at 01:32">asked Jun 11 '16 at 01:32</time> <a href="../../users/1650913/scoopta" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1650913.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Scoopta" /> </a> <div class="s-user-card--info"> <a href="../../users/1650913/scoopta" class="s-user-card--link">Scoopta</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">987</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="9 silver badge">9</li> <li class="s-award-bling s-award-bling__bronze" title="22 bronze badge">22</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37579645"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37579645/how-do-i-start-one-thread-for-my-code-and-one-for-a-javafx-application" class="question-hyperlink">How do I start one thread for my code and one for a JavaFX Application?</a></h3> <div class="excerpt">I'm trying to run a program using JavaFX. If I was using Swing, I would have one class started by the main method, and have it build the GUI class. That would give me 2 threads, normal thread for an application, and the EventQueue. That would…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/multithreading" class="post-tag grid--cell" title="show questions tagged 'multithreading'" rel="tag">multithreading</a> <a href="../../questions/tagged/javafx-8" class="post-tag grid--cell" title="show questions tagged 'javafx-8'" rel="tag">javafx-8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 01 '16 at 22:14">asked Jun 01 '16 at 22:14</time> <a href="../../users/4663352/dave-patterson" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4663352.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Dave Patterson" /> </a> <div class="s-user-card--info"> <a href="../../users/4663352/dave-patterson" class="s-user-card--link">Dave Patterson</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">21</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37491237"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37491237/i-cannot-seem-to-change-scenes-in-javafx" class="question-hyperlink">I cannot seem to change scenes in javafx</a></h3> <div class="excerpt">So I'm trying to simply change between two scenes in javafx, but I've come into this re-occurring problem that I can't seem to fix. It is demonstrated in the following code: import javafx.application.Application; import javafx.stage.Stage; import…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/javafx-8" class="post-tag grid--cell" title="show questions tagged 'javafx-8'" rel="tag">javafx-8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 27 '16 at 19:48">asked May 27 '16 at 19:48</time> <a href="../../users/6392566/mitchell-newcomb" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6392566.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Mitchell Newcomb" /> </a> <div class="s-user-card--info"> <a href="../../users/6392566/mitchell-newcomb" class="s-user-card--link">Mitchell Newcomb</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">23</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37459586"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37459586/javafx-select-text-from-second-column-does-not-matter-where-in-row-is-clicked" class="question-hyperlink">JavaFX select text from second column does not matter where in row is clicked</a></h3> <div class="excerpt">I have a little problem I need to select exactly one column(cell) of row independently where I click in row. For example I have 3 column table, I click on first column but I need text of second column every time. Is there any way I can do this. In…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/javafx" class="post-tag grid--cell" title="show questions tagged 'javafx'" rel="tag">javafx</a> <a href="../../questions/tagged/java-8" class="post-tag grid--cell" title="show questions tagged 'java-8'" rel="tag">java-8</a> <a href="../../questions/tagged/javafx-8" class="post-tag grid--cell" title="show questions tagged 'javafx-8'" rel="tag">javafx-8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 26 '16 at 11:29">asked May 26 '16 at 11:29</time> <a href="../../users/4071159/kristian-klostermann" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4071159.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Kristián Klostermann" /> </a> <div class="s-user-card--info"> <a href="../../users/4071159/kristian-klostermann" class="s-user-card--link">Kristián Klostermann</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">81</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="11 bronze badges">11</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37447087"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37447087/how-to-bind-a-localdate-to-a-textfield-bidirectionally-in-javafx" class="question-hyperlink">How to bind a LocalDate to a TextField bidirectionally in JavaFX</a></h3> <div class="excerpt">I am trying to bind an ObjectProperty<LocalDate> on a DTO to a TextField and am having trouble getting this to work. This is how I have it set up: dateOfBirthTextField.setTextFormatter(new TextFormatter<>(new…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/date" class="post-tag grid--cell" title="show questions tagged 'date'" rel="tag">date</a> <a href="../../questions/tagged/binding" class="post-tag grid--cell" title="show questions tagged 'binding'" rel="tag">binding</a> <a href="../../questions/tagged/javafx-8" class="post-tag grid--cell" title="show questions tagged 'javafx-8'" rel="tag">javafx-8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 25 '16 at 20:32">asked May 25 '16 at 20:32</time> <a href="../../users/3385595/purring-pigeon" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3385595.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="purring pigeon" /> </a> <div class="s-user-card--info"> <a href="../../users/3385595/purring-pigeon" class="s-user-card--link">purring pigeon</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">4,141</li> <li class="s-award-bling s-award-bling__gold" title="5 gold badges">5</li> <li class="s-award-bling s-award-bling__silver" title="35 silver badges">35</li> <li class="s-award-bling s-award-bling__bronze" title="68 bronze badges">68</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37368324"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37368324/how-to-create-a-css-file-in-eclipse-with-e-fx-clipse-plug-in" class="question-hyperlink">How to create a css file in eclipse with e(fx)clipse plug in</a></h3> <div class="excerpt">I have been developing a JavaFX application and when going to skin and style my application I can find how to create a css file. I have e(fx)clipse downloaded and eclipse and e(fx)clipse are both the newest versions. I have searched google and cant…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/css" class="post-tag grid--cell" title="show questions tagged 'css'" rel="tag">css</a> <a href="../../questions/tagged/eclipse" class="post-tag grid--cell" title="show questions tagged 'eclipse'" rel="tag">eclipse</a> <a href="../../questions/tagged/javafx" class="post-tag grid--cell" title="show questions tagged 'javafx'" rel="tag">javafx</a> <a href="../../questions/tagged/javafx-8" class="post-tag grid--cell" title="show questions tagged 'javafx-8'" rel="tag">javafx-8</a> <a href="../../questions/tagged/efxclipse" class="post-tag grid--cell" title="show questions tagged 'efxclipse'" rel="tag">efxclipse</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 21 '16 at 21:45">asked May 21 '16 at 21:45</time> <a href="../../users/5725630/jeremy" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/5725630.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Jeremy" /> </a> <div class="s-user-card--info"> <a href="../../users/5725630/jeremy" class="s-user-card--link">Jeremy</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">33</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badge">1</li> <li class="s-award-bling s-award-bling__bronze" title="6 bronze badge">6</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37326645"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37326645/sending-data-from-one-tab-to-another-tab-in-javafx-8-with-eclipse-and-scene-bu" class="question-hyperlink">Sending data from one tab to another tab in javafx 8 with eclipse and scene builder</a></h3> <div class="excerpt">I created two Tabs with Scene Builder, one fxml-file for each tab. These two files are included in an main.fxml file. In Eclipse I have one controller for each fxml file (MainController, Tab1Controller, Tab2Controller). To shorten these explanation.…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/javafx" class="post-tag grid--cell" title="show questions tagged 'javafx'" rel="tag">javafx</a> <a href="../../questions/tagged/javafx-8" class="post-tag grid--cell" title="show questions tagged 'javafx-8'" rel="tag">javafx-8</a> <a href="../../questions/tagged/scenebuilder" class="post-tag grid--cell" title="show questions tagged 'scenebuilder'" rel="tag">scenebuilder</a> <a href="../../questions/tagged/mediator" class="post-tag grid--cell" title="show questions tagged 'mediator'" rel="tag">mediator</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 19 '16 at 14:42">asked May 19 '16 at 14:42</time> <a href="../../users/6330913/captkirk" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6330913.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="CaptKirk" /> </a> <div class="s-user-card--info"> <a href="../../users/6330913/captkirk" class="s-user-card--link">CaptKirk</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">25</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/javafx-8_page=90" rel="prev" title="Go to page 90">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/javafx-8_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/javafx-8_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/javafx-8_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/javafx-8_page=99" rel="" title="Go to page 99">99</a> <a class="s-pagination--item" href="../../questions/tagged/javafx-8_page=100" rel="" title="Go to page 100">100</a> <a class="s-pagination--item" href="../../questions/tagged/javafx-8_page=92" rel="next" title="Go to page 92"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>