< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2010, 2015, 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 --- 1,7 ---- /* ! * 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,33 **** --- 24,34 ---- */ 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,54 **** /** * Creates a new instance of the HTMLEditor control. */ public HTMLEditor() { ! ((StyleableProperty)super.skinClassNameProperty()).applyStyle( null, "javafx.scene.web.HTMLEditorSkin" ); getStyleClass().add("html-editor"); } --- 45,55 ---- /** * Creates a new instance of the HTMLEditor control. */ public HTMLEditor() { ! ((StyleableProperty) ControlHelper.skinClassNameProperty(this)).applyStyle( null, "javafx.scene.web.HTMLEditorSkin" ); getStyleClass().add("html-editor"); }
< prev index next >