< prev index next >

modules/controls/src/test/java/test/javafx/scene/control/TreeTableViewTest.java

Print this page

        

@@ -23,10 +23,11 @@
  * questions.
  */
 
 package test.javafx.scene.control;
 
+import com.sun.javafx.scene.control.TableColumnBaseHelper;
 import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.table;
 import static test.com.sun.javafx.scene.control.infrastructure.ControlTestUtils.assertStyleClassContains;
 import static javafx.scene.control.TreeTableColumn.SortType.ASCENDING;
 import static javafx.scene.control.TreeTableColumn.SortType.DESCENDING;
 import static org.junit.Assert.*;

@@ -2720,11 +2721,11 @@
 
         // load the table
         StageLoader sl = new StageLoader(table);
 
         // resize the last column
-        last.impl_setWidth(400);
+        TableColumnBaseHelper.setWidth(last, 400);
         assertEquals(400, last.getWidth(), 0.0);
 
         // hide the first column
         table.getColumns().remove(first);
         Toolkit.getToolkit().firePulse();
< prev index next >