## modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableColumnHeader.java

Print this page

    rev 4839 : RT-2529: Locale specific runtime errors (Turkish)

    *** 52,61 ****
    --- 52,62 ----
      import javafx.scene.layout.Region;
      import javafx.util.Callback;
      import java.util.ArrayList;
      import java.util.Collections;
      import java.util.List;
    + import java.util.Locale;
      import com.sun.javafx.css.converters.SizeConverter;
      import com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler;
      import static com.sun.javafx.scene.control.TableColumnSortTypeWrapper.getSortTypeName;
      import static com.sun.javafx.scene.control.TableColumnSortTypeWrapper.getSortTypeProperty;
      import static com.sun.javafx.scene.control.TableColumnSortTypeWrapper.isAscending;
    *** 635,645 ****
                  Region r = new Region();
                  r.getStyleClass().add("sort-order-dot");

                  String sortTypeName = getSortTypeName(column);
                  if (sortTypeName != null && ! sortTypeName.isEmpty()) {
    !                 r.getStyleClass().add(sortTypeName.toLowerCase());
                  }

                  sortOrderDots.getChildren().add(r);
              }

    --- 636,646 ----
                  Region r = new Region();
                  r.getStyleClass().add("sort-order-dot");

                  String sortTypeName = getSortTypeName(column);
                  if (sortTypeName != null && ! sortTypeName.isEmpty()) {
    !                 r.getStyleClass().add(sortTypeName.toLowerCase(Locale.ROOT));
                  }

                  sortOrderDots.getChildren().add(r);
              }