Samuel Bernard
Samuel Bernard
@guixermo @someshwarrc Can you give us some code? How would you modify the course notebook?
Well that’s not what I call a solution. Thanks for your reply.
I confirm the `ip_address` bug which is very annoying.
I have the same issue but with a `LongProperty`. Casting with `.asInstanceOf[ObservableValue[Long, Long]]` works but it’s not pretty.
Basically, from what I understand, this issue comes from the fact that Java’s `Double`, `Integer`, `Long` extends `Number` but Scala equivalent don’t. And because *JavaFX* uses this heritage heavily (`DoubleProperty`,...
I had the same problem so I used the delegate.lookup method and build a couple of helper methods to do the casting like: ``` def scrollPane(id: String)(using scene: Scene) =...
It will be done directly in JavaFX: https://github.com/openjdk/jfx/pull/675
IMHO, I think it is a great idea. I currently wrap all these calls in Option to deal with the null case as you first describe. An extended version of...
There are two new properties used to define `javafx.platform` in 17-ea+9 pom and later. First, `os.arch` property. I guess this is not a problem because it is correctly defined like...
A solution is to wrap the script in a window.eval call. Add `var code = "(" + (function() {` just after `// ==/UserScript==` and add ``` }).toString() + ")()"; window.eval(code);...