Monday, December 2, 2019

Java_Lesson(10) Canvas

Found some code from Oracle for adding JavaFX to Swing.
Works nicely enough. Even managed to change both the background
color of the Window and its text color. The title bar remains
unchangeable, because it is a direct call to the default on the Windows
system. This is the heart of the problem with Java.
One probably needs to run Swing component within JavaFX,
instead. It is today's problem.





                                                          *     *     *

Found a site exploring JavaFX graphics, and added a few flourishes...:



Caution: you have to know what you're doing. That second window will not go 
away while Eclipse is still open!!(Actually it will, but you have to click the
imaginary spot where the x should be...)





No comments: