i looking way implement simple, popup shows on screen few seconds; possibly similar how many music programs show new artist/song information in corner of screen when new song starts.
i want able show brief confirmation action has been performed successfully. in case, double-clicking on tableview
cell copy contents of cell clipboard.
however, want show indication user has been done.
will need customer alert
or manual tooltip
or there existing api haven't found yet?
use whatever popup-window implementation convenient, , use pausetransition
hide after required time:
// can use alert, dialog, or popupwindow needed... stage popup = new stage(); // configure ui popup etc... // hide popup after 3 seconds: pausetransition delay = new pausetransition(duration.seconds(3)); delay.setonfinished(e -> popup.hide()); popup.show(); delay.play();
Comments
Post a Comment