< prev index next >

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

Print this page

        

*** 23,32 **** --- 23,33 ---- * 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,2730 **** // load the table StageLoader sl = new StageLoader(table); // resize the last column ! last.impl_setWidth(400); assertEquals(400, last.getWidth(), 0.0); // hide the first column table.getColumns().remove(first); Toolkit.getToolkit().firePulse(); --- 2721,2731 ---- // load the table StageLoader sl = new StageLoader(table); // resize the last column ! TableColumnBaseHelper.setWidth(last, 400); assertEquals(400, last.getWidth(), 0.0); // hide the first column table.getColumns().remove(first); Toolkit.getToolkit().firePulse();
< prev index next >