ron
01/02/2017, 9:13 AMedvin
01/02/2017, 9:19 AMSystem.currentTimeMillis()
and then run a TimerTask
to check if this value becomes older than your threshold for example.ron
01/02/2017, 9:19 AMedvin
01/02/2017, 9:20 AMron
01/02/2017, 9:20 AMron
01/02/2017, 9:21 AMedvin
01/02/2017, 9:23 AMron
01/02/2017, 9:24 AMron
01/02/2017, 9:24 AMedvin
01/02/2017, 9:49 AMron
01/02/2017, 9:51 AMmenuitem("open").setOnAction { mainview.replaceWith(SelectFileView::class) }
when I open a file which basically does the sameron
01/02/2017, 9:51 AMron
01/02/2017, 9:57 AMTimeLine
?edvin
01/02/2017, 10:03 AMTimerTask
edvin
01/02/2017, 10:04 AMedvin
01/02/2017, 10:12 AMRegion
. paddingTopProperty
, paddingRightProperty
, paddingBottomProperty
and paddingLeftProperty
along with paddingVerticalProperty
and paddingHorizontalProperty
. These are observable and will do what you expect them to do. Very handy for animation support. My whole clunky animation code from the other day is basically now just:edvin
01/02/2017, 10:12 AMpaddingVerticalProperty.animate(if (hover) 20.0 else 10.0, .2.seconds)
ron
01/02/2017, 10:13 AMron
01/02/2017, 10:13 AMedvin
01/02/2017, 10:14 AMron
01/02/2017, 10:14 AMron
01/02/2017, 10:14 AMedvin
01/02/2017, 10:15 AMron
01/02/2017, 10:20 AMron
01/02/2017, 10:20 AMedvin
01/02/2017, 10:29 AMron
01/02/2017, 10:37 AMstage.addEventFilter(InputEvent.ANY, ::println)
in the onStart of the appron
01/02/2017, 10:37 AMron
01/02/2017, 10:44 AM