mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
get rid of deprecated method usage
This commit is contained in:
@@ -429,16 +429,11 @@ public class SwingHelper {
|
||||
@NotNull TextComponentAccessor<T> textComponentAccessor) {
|
||||
fileChooserDescriptor = fileChooserDescriptor.withShowHiddenFiles(SystemInfo.isUnix);
|
||||
componentWithBrowseButton.addBrowseFolderListener(
|
||||
browseDialogTitle,
|
||||
null,
|
||||
project,
|
||||
new ComponentWithBrowseButton.BrowseFolderActionListener<>(
|
||||
browseDialogTitle,
|
||||
null,
|
||||
componentWithBrowseButton,
|
||||
project,
|
||||
fileChooserDescriptor,
|
||||
textComponentAccessor
|
||||
),
|
||||
true
|
||||
fileChooserDescriptor,
|
||||
textComponentAccessor
|
||||
);
|
||||
FileChooserFactory.getInstance().installFileCompletion(
|
||||
textField,
|
||||
|
||||
Reference in New Issue
Block a user