Back to LanguageTool Homepage - Privacy - Imprint

Why Swing and not JavaFX?


(Saheed Olayemi Bolarinwa) #1

Hi everyone, I just want to know if there is a specific reason why the standalone app was built in Swing and not JavaFX?


(Daniel Naber) #2

The first version of the stand-alone GUI was written at a time when JavaFX didn’t even exist (around 2005)…


(Saheed Olayemi Bolarinwa) #3

I will be interested in a JavaFX re-implementation, if it is inline with your goals. Otherwise, I am just looking at the Copy/Paste Issue which annoys me terribly, may be I can try my luck on it. But I really think the UI will be more nice in JavaFX.


(Daniel Naber) #4

I think the only future-proof way of re-implementing the stand-alone GUI is to use a web-based approach. Basically using the text area as on languagetool.org, but communicating with a local LT HTTP server.


(Saheed Olayemi Bolarinwa) #5

Yep, I unfortunately have to agree to that. Web-based desktop is the future. I am still interested, it will be a learning experience for me. Is there any option outside Electron.JS these days?


(Daniel Naber) #6

I’m not familiar enough with front-end development to answer that. A web search about this topic is probably more promising.