pmd / pmd-bluej

Other
6 stars 2 forks source link

Support BlueJ 5 #4

Closed adangel closed 3 years ago

adangel commented 3 years ago

This extension is one of the most popular extensions that people install in BlueJ.

We recently released BlueJ 5.0.0 which includes a breaking modification to the extensions API, so your existing extension will not run in BlueJ 5. As you may know, BlueJ 1-3 used Swing for its GUI and thus the extension API was based around Swing. BlueJ 4 had an awkward hybrid of Swing and JavaFX (which already caused problems with some extensions). BlueJ 5 has now fully transitioned to JavaFX and removed support for the old extensions API in favour of a very similar one based on JavaFX.

We have made a guide on how to convert extensions to BlueJ 5 here: https://bluej.org/extensions/writingextensions2.html#BJ5 The quick summary is that you need to update some package names, change any Swing GUI to the JavaFX equivalent and recompile against BlueJ 5. The effort involved will thus be proportionate to how much Swing GUI code you have in your extension.

If you have any questions about converting your extension, please let us know.