You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HostServices provides a bunch of useful things like "code base and document base for an Application, show a web page in a browser, and communicate with the enclosing web page using JavaScript if the Application is running in a browser" (quoted from https://docs.oracle.com/javase/8/javafx/api/javafx/application/HostServices.html).
The user agent stylesheet allows the user to set up a quick way to theme a whole JavaFX application without too much trouble using CSS. I understand that there are classes that expose a user agent stylesheet method, if those are equivalent to the application-level user agent stylesheet, please disregard the relevant methods.
I'm not sure how difficult it would be to incorporate these methods in JFXApp given the indirect call to javafx.application.Application, but a quick stopgap measure would be to expose the underlying JavaFX Application, so that we can have access to these methods.
The text was updated successfully, but these errors were encountered:
In JavaFX, when extending the abstract class
Application
, the user has access to the following methods that have no equivalent in ScalaFX:HostServices
provides a bunch of useful things like "code base and document base for an Application, show a web page in a browser, and communicate with the enclosing web page using JavaScript if the Application is running in a browser" (quoted from https://docs.oracle.com/javase/8/javafx/api/javafx/application/HostServices.html).The user agent stylesheet allows the user to set up a quick way to theme a whole JavaFX application without too much trouble using CSS. I understand that there are classes that expose a user agent stylesheet method, if those are equivalent to the application-level user agent stylesheet, please disregard the relevant methods.
I'm not sure how difficult it would be to incorporate these methods in
JFXApp
given the indirect call tojavafx.application.Application
, but a quick stopgap measure would be to expose the underlying JavaFXApplication
, so that we can have access to these methods.The text was updated successfully, but these errors were encountered: