Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove javafx.swing module

See original GitHub issue

javafx.swing module is used by JavaFXThreadingRule. This class in turn is used by CheckTreeViewTest.

IMO, it would be a good idea to get rid of both these classes and remove the dependency of ControlsFX on javafx.swing.

This will also provide us a clean slate to introduce testing for ControlsFX on 9.0.0 branch.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

abhinayagarwalcommented, Apr 14, 2020

Now that the JavaFXThreadingRule is fixed, I will assign the issue and take care of removing the javafx.swing module from the application. Thanks for your help @Maxoudela

abhinayagarwalcommented, Apr 12, 2020

We use TestFX to run some tests on master branch. I has removed it from 9.0.0 because I wasn’t able to run them using JDK 11 and JPMS.

Nevertheless, I have fixed it and brought back the tests which were based on TestFX.

Since my experience with TestFX is minimum, is it OK to assign the issue to you so that you can have a look at CheckTreeViewTest and do the needful? If not, I can have a look at TestFX later and fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JDK-8210092 Remove old javafx.swing implementation - Bug ID
The main tasks will be: 1. Remove the 'oldimpl' package as well as the reference to it from the InteropFactory 2. Unconditionally use...
Read more >
[JDK-8210092] Remove old javafx.swing implementation
Task - A task that needs to be done. JDK-8212728 Update the Eclipse classpath file for the Swing module. P4 - Minor loss...
Read more >
Embedding Swing Content in JavaFX Applications
This article describes how to embed Swing components in JavaFX ... In the SwingNodeSample class, remove the code inside the start method ...
Read more >
java - Running older Swing code on OpenJDK11/OpenJFX
I have a very old Swing-based java app that ran fine on Java 8 and I'm trying to switch to Java 11. It...
Read more >
Why Swing has not been removed from OpenJDK releases ...
JavaFX has never been part of the Java SE spec or the OpenJDK JDK; it's always been a "standalone module". Some JDK distributions...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found