Friday, December 13, 2019

Java_Lesson(15) FX Set-up

In choosing to work with javafx for animation, all
the world really is a stage. Eclipse provides an opening
interface with the main method relegated to the bottom and
a sparse launch() command. In point of fact, one can
disable the main method completely and our styling and
animation will run smoothly. In effect, the computer
ignores it.

This is congruent with the historical development of computer
languages. Graphic effects started as subversion of arrays, and
today's ads and games carry the flag to this approach. Onward!

Below, the code to a Hello World for javafx to which I have added
a bit of on-the-fly CSS for message and color. It runs with the launch
command disabled.












No comments: