Timeline for Simple JavaFX app pops-up reminders on schedule
Current License: CC BY-SA 3.0
        6 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 3, 2016 at 22:18 | vote | accept | CommunityBot | ||
| Dec 2, 2016 at 18:10 | comment | added | user10629 | I'm going to wait to see if I get more feedback for a day or two, and then I'll mark an answer correct. | |
| Dec 2, 2016 at 4:59 | comment | added | user10629 | "Do note that this is still a bit wonky, because you can just click the button to skip through reminders." I think my application description was a bit wonky because that's how I intended it to work: the "Switch" button is a "Skip" button, not an "Acknowledgement" button. I added it so that I could skip phases. When the timer fires, the next reminder is actually scheduled immediately, no need to press the button. My fault for making a misleading UI. Again, thanks for the great review. | |
| Dec 2, 2016 at 4:50 | comment | added | user10629 | 
        
            
    I used Timeline because of this blog post and because I kept reading that background threads shouldn't update UI compontents; the UI thread should update UI components. None of the articles really explained why. They just warned of "unpredictable" results. Some of the articles said to use Platform::runLater from the background thread.
        
     | 
|
| Dec 2, 2016 at 4:44 | comment | added | user10629 | 
        
            
    Thanks for the great review, Vogel. It turns out I was able to use onAction="#scheduleNextReminder" without issue: no need for button.setOnAction.
        
     | 
|
| Dec 2, 2016 at 1:34 | history | answered | Vogel612 | CC BY-SA 3.0 |