< prev index next >

modules/web/src/main/java/javafx/scene/web/HTMLEditor.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -24,10 +24,11 @@
  */
 
 package javafx.scene.web;
 
 
+import com.sun.javafx.scene.control.ControlHelper;
 import javafx.css.StyleableProperty;
 
 import javafx.scene.control.Control;
 
 import javafx.print.PrinterJob;

@@ -44,11 +45,11 @@
 
     /**
      * Creates a new instance of the HTMLEditor control.
      */
     public HTMLEditor() {
-        ((StyleableProperty)super.skinClassNameProperty()).applyStyle(
+        ((StyleableProperty) ControlHelper.skinClassNameProperty(this)).applyStyle(
             null,
             "javafx.scene.web.HTMLEditorSkin"
         );
         getStyleClass().add("html-editor");
     }
< prev index next >