Issue
I'm new to JavaFX and I wonder if there is some equivalent to Android Toast?
I have seen the class Notification
, but it doesn't look like it can be displayed only in the application. I also found I could user a Timer
and make shading of a Label
, but if there's some class to use, I'd be better!
Thanks!
Solution
Try the third party ControlsFX Notifications or Notification Pane.
"The NotificationPane control allows you to notify your users of something without requiring their immediate input (which you can do with the ControlsFX dialogs API). The NotificationPane will animate in and out of view"
Notifications "will show a notification message to users in one of nine locations on the screen ... After a set duration, the notification will fade out."
Answered By - jewelsea
Answer Checked By - Willingham (JavaFixing Volunteer)