<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>JavaFX Techniques on PragmaticCoding</title><link>http://localhost:1313/javafx/techniques/</link><description>Recent content in JavaFX Techniques on PragmaticCoding</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>nuno@n9o.xyz (Blowfish)</managingEditor><webMaster>nuno@n9o.xyz (Blowfish)</webMaster><copyright>© 2026 Blowfish</copyright><lastBuildDate>Wed, 16 Jul 2025 12:00:00 -0500</lastBuildDate><atom:link href="http://localhost:1313/javafx/techniques/index.xml" rel="self" type="application/rss+xml"/><item><title>Reactive Programming in JavaFX</title><link>http://localhost:1313/javafx/techniques/reactive-javafx/</link><pubDate>Wed, 16 Jul 2025 12:00:00 -0500</pubDate><author>nuno@n9o.xyz (Blowfish)</author><guid>http://localhost:1313/javafx/techniques/reactive-javafx/</guid><description>What is Reactive programming, and how does it work in JavaFX</description></item><item><title>Stop Using PropertyValueFactory</title><link>http://localhost:1313/javafx/techniques/propertyvaluefactory/</link><pubDate>Thu, 24 Jun 2021 12:00:00 -0500</pubDate><author>nuno@n9o.xyz (Blowfish)</author><guid>http://localhost:1313/javafx/techniques/propertyvaluefactory/</guid><description>PropertyValueFactory is an obsolete convenience method designed to eliminate boilerplate. We don&amp;rsquo;t don&amp;rsquo;t need it any more now that we have Lambda expressions.</description></item><item><title>JavaFX Anti-Pattern: The Dispatch EventHandler</title><link>http://localhost:1313/javafx/techniques/dispatchEventHandler/</link><pubDate>Mon, 19 Apr 2021 12:00:00 -0500</pubDate><author>nuno@n9o.xyz (Blowfish)</author><guid>http://localhost:1313/javafx/techniques/dispatchEventHandler/</guid><description>&lt;p&gt;The &amp;ldquo;Dispatch EventHandler&amp;rdquo;. For some reason I see this in examples on the web all over the place, I think because it&amp;rsquo;s a technique that seems to integrate with FXML. The idea is that you create a single &lt;code&gt;EventHandler&lt;/code&gt; and you invoke it from all of the &lt;code&gt;Buttons&lt;/code&gt; (or whatever) on your GUI. In that &lt;code&gt;EventHandler&lt;/code&gt;, you check the passed &lt;code&gt;Event&lt;/code&gt; and run different code depending on which &lt;code&gt;Button&lt;/code&gt; triggered it.&lt;/p&gt;&#10;&lt;p&gt;It&amp;rsquo;s a bad approach that adds complexity to your code and returns you nothing. In this article you&amp;rsquo;ll see how this approach fails, and how to properly write &lt;code&gt;EventHandlers&lt;/code&gt; in a clear and simple way.&lt;/p&gt;&#10;</description></item></channel></rss>