Swing Components in Default Processing Window_py5

It was already written using “Imported mode for py5” using the Thonny editor with plugin. By adding “import py5” at the top you converted it to “Module Mode” if I understand correctly. Reference is here: https://py5coding.org/content/py5_modes.html for the sake of others viewing this thread. All those ‘modes’ are confusing to me, but it appears that by using the plugin and imported mode the authors were trying to make it easier for rookies like me. Personally I don’t like having to add the py5. prefix to everything and your adaptation using this. is more like what I am accustomed to using. With the addition of JavaFX there should now be controls for py5 users to take advantage of. I’m assuming that you ran this code in the Windows environment, which is good if you did because it demonstrates that it will run across platforms. Should run in Linux too (confirmed by another user). Thanks for taking the time to look at it.

1 Like