[BLUEJ-959] Add a JavaFX class template
We currently ship a bunch of templates in lib/english/templates/newclass. You'll see that they are basically Java files, with a few special items with $VAR names that get substituted. We should add a new javafx.tmpl template file here (I think when you add it, it should show up in the new class dialog by default), with a class that extends Application, and shows a simple GUI on screen with maybe a label and a button. (Maybe the button makes the label show a count of how many times it has been pressed?)
I'd start by developing the simple JavaFX app in BlueJ, then convert it to a template by putting in the $CLASSNAME substitutions, etc, then test that it works when you make a new class. Might be a useful way to do some simple JavaFX.
Issue metadata
- Issue type: Task
- Priority: Medium
- Fix versions: 4.1.0