Hi,
Are there any tricks to quickly spinning up a visible application (from a
test or otherwise), from within the JFX project, in order to see your
changes?
Obviously building the SDK and "using" it in an application is time
consuming.
I've seen this in build.gradle, where I assume StubToolKit automatically
runs a sort of headless Application for tests without tests needing to
manage it. Can it be replaced with anything?
test {
def cssDir = file("${TEST_SDK_DIR}/shims/${moduleName}/javafx")
jvmArgs enableNativeGraphics
jvmArgs "-Djavafx.toolkit=test.com.sun.javafx.pgstub.StubToolkit",
"-DCSS_META_DATA_TEST_DIR=$cssDir"
}
I know some people copy UI classes into their project (keeping the same
package name as the real JFX control class, where it will take precedence),
and develop/test it *there*. If that's the best solution to date, that's
fine.
In general, any other quick development tips (in the realm of quickly
visually testing your changes) would be appreciated...
Thanks in advance.
Kind Regards,
Cormac