# What about JavaFX?

**URL:** <https://forum.inductiveautomation.com/t/what-about-javafx/90563>\
**Category:** General Discussion\
**Created:** [May 17, 2024, 2:11pm UTC](https://forum.inductiveautomation.com/t/what-about-javafx/90563 "2024-05-17T14:11:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [May 17, 2024, 2:11pm UTC](https://forum.inductiveautomation.com/t/what-about-javafx/90563/1 "2024-05-17T14:11:32Z")

</div>

I'm just curious, has any consideration been given to converting the Designer to use JavaFX instead of Swing? It's been around for a decade now, and having worked with both in the past, I can say that it's far superior, both for the developer and end user.

There's some awkward behavior in the Designer that I suspect is due to Swing's clunkiness, such as the project tree's tendency to collapse on its own or jump to a spot far from where I clicked. Several times I've accidentally moved a folder into another simply by trying to navigate within the tree, and every time it happens I worry that eventually it will happen without me noticing and result in breaking something important.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 17, 2024, 2:12pm UTC](https://forum.inductiveautomation.com/t/what-about-javafx/90563/2 "2024-05-17T14:12:35Z")

</div>

If you understood how much work that would be you'd know that's never going to happen.

And FWIW, Swing isn't any "clunkier" than JavaFX. Awkward Designer behavior isn't the toolkit's fault.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 17, 2024, 2:14pm UTC](https://forum.inductiveautomation.com/t/what-about-javafx/90563/3 "2024-05-17T14:14:15Z")

</div>

It might also be fundamentally impossible given that Vision is so coupled to Swing that it basically is just Swing, and the Designer is in some sense a Swing WSIWG editor... at least for the Vision workspace.

---

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [May 17, 2024, 2:22pm UTC](https://forum.inductiveautomation.com/t/what-about-javafx/90563/4 "2024-05-17T14:22:24Z")

</div>

True, there's nothing about Swing that makes such behavior inevitable, but I still say it's "clunky" for the developer. Switching to JavaFX after years of wrestling with Swing's architecture was such a breath of fresh air...

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 17, 2024, 2:25pm UTC](https://forum.inductiveautomation.com/t/what-about-javafx/90563/5 "2024-05-17T14:25:27Z")

</div>

Rewriting the designer into anything is almost certainly never going to happen, but the sad reality of desktop app development means that the "smart" choice for us, as a company, would probably end up being some kind of web technology, not JavaFX, which is basically on life support new development wise as much as Swing is, except not part of the JDK so even more of a danger over the long term.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 17, 2024, 2:27pm UTC](https://forum.inductiveautomation.com/t/what-about-javafx/90563/6 "2024-05-17T14:27:41Z")

</div>

> [@paul-griffith](#):
>
> some kind of web technology

🙉 🙈

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 17, 2024, 2:28pm UTC](https://forum.inductiveautomation.com/t/what-about-javafx/90563/7 "2024-05-17T14:28:30Z")

</div>

> [@Kevin.Herron](#):
>
> 🙉 🙈

Yeah, same reaction here. Oy!

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 17, 2024, 2:30pm UTC](https://forum.inductiveautomation.com/t/what-about-javafx/90563/8 "2024-05-17T14:30:18Z")

</div>

I'm not saying I endorse it, just that if such a rewrite ever were to happen (again - it won't) it would be by far the best choice for a brand new Java backed "desktop app" in 2024.
