eppleton / javafxbuch

Demos und Projekte für das JavaFX Buch von Anton Epple
14 stars 16 forks source link

Bug fixes in chapter 9 #20

Open dgruntz opened 6 years ago

dgruntz commented 6 years ago

Updates the progress indicator to be finished By invoking

    updateProgress(max, max);

the properties are informed that the task is completed. [this should probably be added to the former projects as well.]

Fixes a bug in tweetalot (chap 9.4) In the original version the RefreshServicewas declared as a local variable in the constructor and was reclaimed by the GC after creation of the timeline.

The call homeTimeline.refresh() declared in the MainAppis no longer needed (was commented out). Without that code the timeline was not initialized.