< prev index next >
src/java.desktop/macosx/classes/com/apple/laf/AquaFileChooserUI.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2011, 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) 2011, 2018, 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
*** 1418,1428 ****
super(cm);
setReorderingAllowed(true); // This causes mousePress to call setDraggedColumn
}
// One sort state for each column. Both are ascending by default
! final boolean fSortAscending[] = {true, true};
// Instead of dragging, it selects which one to sort by
public void setDraggedColumn(final TableColumn aColumn) {
if (aColumn != null) {
final int colIndex = aColumn.getModelIndex();
--- 1418,1428 ----
super(cm);
setReorderingAllowed(true); // This causes mousePress to call setDraggedColumn
}
// One sort state for each column. Both are ascending by default
! final boolean[] fSortAscending = {true, true};
// Instead of dragging, it selects which one to sort by
public void setDraggedColumn(final TableColumn aColumn) {
if (aColumn != null) {
final int colIndex = aColumn.getModelIndex();
< prev index next >