From aecd512335c126d537dc168082a06909a15bfbf5 Mon Sep 17 00:00:00 2001 From: Jarek Sacha Date: Tue, 19 Mar 2024 17:55:40 -0400 Subject: [PATCH] Name the parameters --- .../src/main/scala/org/scalafx/extras/BusyWorkerDemo.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scalafx-extras-demos/src/main/scala/org/scalafx/extras/BusyWorkerDemo.scala b/scalafx-extras-demos/src/main/scala/org/scalafx/extras/BusyWorkerDemo.scala index c1e7401..2abecce 100644 --- a/scalafx-extras-demos/src/main/scala/org/scalafx/extras/BusyWorkerDemo.scala +++ b/scalafx-extras-demos/src/main/scala/org/scalafx/extras/BusyWorkerDemo.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2021, ScalaFX Project + * Copyright (c) 2011-2024, ScalaFX Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -139,7 +139,7 @@ object BusyWorkerDemo extends JFXApp3 { ).map(_.delegate) } - lazy val busyWorker: BusyWorker = new BusyWorker("BusyWorker Demo", buttonPane) { + lazy val busyWorker: BusyWorker = new BusyWorker(title = "BusyWorker Demo", disabledNode = buttonPane) { progressLabel.text <== progressMessage progressBar.progress <== progressValue }