Memory leak in JavaFX 8 when changing skins

2020-01-09 Thread Adam Granger
om skin (-fx-skin in our application CSS) is then loaded  - stock skin cannot be GC'd and neither can our custom skin  - appears to affect any subclass of BehaviorSkinBase Please could you confirm my analysis of this problem and suggest any workarounds? Regards, Adam

Layout bug with SwingNode ?

2018-02-23 Thread Adam Granger
Greeting, (https://stackoverflow.com/questions/48937412/node-snapshot-causing-layout-issue) Using JavaFX 9.0.4 I'm embedding some 3rd party Swing content in a JavaFX app. The 3rd party content already has its own preferred size, so I'm wrapping it with a StackPane to stretch it out...

Psuedo-classes and weak references

2018-02-21 Thread Adam Granger
Greetings, I've discovered the following code behaves differently in Java 8 vs 9, in Java 8 it produces change and invalidation events, in Java 9 nothing. I debugged this to the fact getPsuedoClassStates() returns a read-only wrapper, and that uses weak references therefore there is nothing to s

Build failure on missing ant-javafx.jar

2017-12-15 Thread Adam Granger
uild shouldn’t expect that the boot-JDK already contains JavaFX parts? Instead the build should use the ant-javafx.jar file that it built earlier? Apologies if I've misunderstood this. Other than that I've found the OpenJFX pretty good and well documented, thanks to all involved. Thanks, Adam

JavaFX not in Oracle OpenJDK builds

2017-10-18 Thread Adam Granger
Oracle is now doing OpenJDK builds, e.g. 9.0.1 at http://jdk.java.net/9/ However these don't appear to include JavaFX. Is this intentional? Will this always be the case in the future? Thanks. Adam. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.

CSS style class rendering bug

2017-08-01 Thread adam
(https://stackoverflow.com/questions/45440102/javafx-css-class-not-removed-when-node-disconnected) I appeared to have discovered a case in JavaFX (8u144, running on Windows 7) where a TextField is rendered using the wrong style class. This only appears to happen in the following situation  * st

Using queries containing pseudo-classes in JavaFX

2017-07-23 Thread Adam Granger
I'm tring to use pseudo classes in programmtic query using Node.lookupAll() however this seems to give unexpected results. I've searched online and can't find anything to suggest Node.lookupAll() wouldn't support psuedo classes... public class Foo extends Application { public static void main(

Exceptions silently swallowed in DnD listeners, windows only

2017-04-20 Thread adam
nal call to CheckAndClearException(env); as defined in Utils.cpp, however this is against RT-35400 which appears unrelated. This has not been backported to Java 8. Thanks, Adam Links: -- [1] http://hg.openjdk.java.net/openjfx/8/master/rt/file/tip/modules/graphics/src/main/nativ

SwingNode black content ... still a problem

2017-03-03 Thread adam
https://bugs.openjdk.java.net/browse/JDK-8097328 is marked as resolved... However, using jdk-8u121-windows-i586 on Windows 7 I still see the same issue. Black content in Swing Node until repaint is forced, for example by dragging the window off-screen and on-screen again... I also saw same issue w

JavaFX always choose monospace font - possible bug?

2015-04-24 Thread Adam Granger
for JavaFX to map to existing fonts in /usr/shar/fonts "correctly" I also wrote this up at http://stackoverflow.com/questions/29828681/javafx-uses-monospaced-font-for-all-controls also, but had zero interest. Regards, Adam.

Re: JavaFX JIRA issues moving to JBS

2015-04-15 Thread Adam Granger
ckoverflow structured question/answer/comment/vote approach is much better suited poor quality questions (bug reports) will automatically get culled by the crowd, sscce questions are encouraged, better community involvement etc Adam. > I will also add a suggestion that I think would

Updating JavaFX BarChart data causes memory leak?

2015-04-15 Thread Adam Granger
Hi, I've just asked this on stackoverflow, but I'm guessing someone from this group might be able to help better... Should I raise a JIRA? I've discovered what I believe is a memory leak in BarChart triggered by replacing all the data values in the series. This is exasperated by our application wh

Unit testing recommendations for JavaFX

2015-03-28 Thread Adam Granger
e mentioned... What solution do OpenJFX / other large FX developments use for unit testing? Many thanks, Adam.

Using JavaFX on VMWare / Linux

2015-02-26 Thread Adam Granger
possible to disable/override the white/blacklist system albeit at risk? Kind regards, Adam.

Integrating Spring with FXML nested controllers

2015-02-26 Thread Adam Granger
I'd be interested in the groups opinions... From http://stackoverflow.com/questions/28741472/integrating-spring-with-fxml-nested-controllers I'm implementing a large application using JavaFX but unsure how to deal with nested controllers and Spring. * The FXML has already been provided by the d

SceneBuilder

2015-01-08 Thread Adam Granger
;> According to my colleague this was possible in an older version of Scene Builder Regards, Adam.

JavaFX training?

2014-10-24 Thread Adam Granger
om/javase/8/javase-clienttechnologies.htm Kind regards, Adam.

Software rendering in Prism in JavaFX 8?

2014-10-24 Thread Adam Granger
response below. Regards, Adam. > Shouldn't javaFX still do software rendering for 3D? Not currently (see the other response I just sent). We can consider providing some basic support for 3.0, but have not yet committed to do so. -- Kevin Adam Granger wrote: > I just ch

NumberAxis alignment of ticks to multiples of tickUnit

2014-08-19 Thread Adam Granger
u consider including this functionality in the main NumberAxis class? - obviously making it configurable and defaulting to current behaviour. Regards, Adam.

JavaFx roadmap?

2014-08-11 Thread Adam Granger
ease dates, long term support dates? We're interested in this at work, but need to know oracle is committed to it. - What about features like multi-touch on Linux? - How will WebView ever keep up with the constantly evolving HTML5 platform? - Is Swing development really over? Regards, Adam. -