|
|
@ -97,7 +97,7 @@ public class SshPane extends BasicPane { |
|
|
|
|
|
|
|
|
|
|
|
type.addActionListener(e -> changePaneForType()); |
|
|
|
type.addActionListener(e -> changePaneForType()); |
|
|
|
fileChooserButton.addActionListener(e -> { |
|
|
|
fileChooserButton.addActionListener(e -> { |
|
|
|
FILEChooserPane fileChooser = FILEChooserPane.getInstanceWithDesignatePath(SslUtils.PREFIX, new ChooseFileFilter(true), SslUtils.CERTIFICATES); |
|
|
|
FILEChooserPane fileChooser = FILEChooserPane.getFileCAChoosePane(new ChooseFileFilter(true)); |
|
|
|
int type = fileChooser.showOpenDialog(SshPane.this, StringUtils.EMPTY); |
|
|
|
int type = fileChooser.showOpenDialog(SshPane.this, StringUtils.EMPTY); |
|
|
|
if (type == FILEChooserPane.OK_OPTION) { |
|
|
|
if (type == FILEChooserPane.OK_OPTION) { |
|
|
|
final FILE file = fileChooser.getSelectedFILE(); |
|
|
|
final FILE file = fileChooser.getSelectedFILE(); |
|
|
|