changeset 5717:373de73b0e35

RT-34170: The use of SwingNode containing a JButton interacts badly with the rendering Reviewed-by: Kevin, Steve, and Anthony
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Thu, 14 Nov 2013 14:58:24 -0800
parents 334772e6da36
children 3efcb0d079ca
files modules/swing/src/main/java/javafx/embed/swing/SwingNode.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/swing/src/main/java/javafx/embed/swing/SwingNode.java	Thu Nov 14 14:20:01 2013 -0800
+++ b/modules/swing/src/main/java/javafx/embed/swing/SwingNode.java	Thu Nov 14 14:58:24 2013 -0800
@@ -145,6 +145,9 @@
                  activateLwFrame(newValue);
             }
         });
+
+        //Workaround for RT-34170
+        javafx.scene.text.Font.getFamilies();
     }
 
     /**