< prev index next >
src/java.desktop/unix/classes/sun/awt/X11/XFileDialogPeer.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2003, 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) 2003, 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
*** 465,475 ****
f = "*";
setFilterField(f);
} else {
setFilterField(f);
}
! String l[];
if (f.equals("*")) {
l = fe.list();
} else {
// REMIND: fileDialogFilter is not implemented yet
--- 465,475 ----
f = "*";
setFilterField(f);
} else {
setFilterField(f);
}
! String[] l;
if (f.equals("*")) {
l = fe.list();
} else {
// REMIND: fileDialogFilter is not implemented yet
*** 822,832 ****
/*
* Adding items to the path choice based on the text string
* See 6240074 for more information
*/
public void addItemsToPathChoice(String text){
! String dirList[] = getDirList(text);
for (int i = 0; i < dirList.length; i++) pathChoice.addItem(dirList[i]);
}
/*
* Refresh the unfurled choice at the time of the opening choice according to the text of the path field
--- 822,832 ----
/*
* Adding items to the path choice based on the text string
* See 6240074 for more information
*/
public void addItemsToPathChoice(String text){
! String[] dirList = getDirList(text);
for (int i = 0; i < dirList.length; i++) pathChoice.addItem(dirList[i]);
}
/*
* Refresh the unfurled choice at the time of the opening choice according to the text of the path field
< prev index next >