|
|
|
@ -54,7 +54,7 @@ public class SslPane extends BasicPane {
|
|
|
|
|
private double p = TableLayout.PREFERRED; |
|
|
|
|
private double f = TableLayout.FILL; |
|
|
|
|
private JPanel contextPane; |
|
|
|
|
private double[] columnSize = new double[]{208, p}; |
|
|
|
|
private double[] columnSize = new double[]{195, p}; |
|
|
|
|
|
|
|
|
|
public SslPane() { |
|
|
|
|
fileChooserButtonCa.setIcon(new ImageIcon(UIConstants.ACCESSIBLE_EDITOR_DOT)); |
|
|
|
@ -67,18 +67,12 @@ public class SslPane extends BasicPane {
|
|
|
|
|
fileChooserButtonCa.setPreferredSize(dimension); |
|
|
|
|
fileChooserButtonClientCert.setPreferredSize(dimension); |
|
|
|
|
fileChooserButtonClientKey.setPreferredSize(dimension); |
|
|
|
|
JPanel filePanelCa = FRGUIPaneFactory.createLeftFlowZeroGapBorderPane(); |
|
|
|
|
filePanelCa.add(keyPathCa); |
|
|
|
|
filePanelCa.add(fileChooserButtonCa); |
|
|
|
|
JPanel filePanelCa = TableLayoutHelper.createCommonTableLayoutPane(new Component[][]{{keyPathCa, fileChooserButtonCa}}, new double[]{p}, new double[]{f, 20}, 0); |
|
|
|
|
Component[] compCa = {new UILabel(Toolkit.i18nText("Fine-Design_Basic_Ssl_Ca") + ":", SwingConstants.RIGHT), filePanelCa}; |
|
|
|
|
Component[] compVerifyCa = {null, verifyCa}; |
|
|
|
|
JPanel filePanelClientCert = FRGUIPaneFactory.createLeftFlowZeroGapBorderPane(); |
|
|
|
|
filePanelClientCert.add(keyPathClientCert); |
|
|
|
|
filePanelClientCert.add(fileChooserButtonClientCert); |
|
|
|
|
JPanel filePanelClientCert = TableLayoutHelper.createCommonTableLayoutPane(new Component[][]{{keyPathClientCert, fileChooserButtonClientCert}}, new double[]{p}, new double[]{f, 20}, 0); |
|
|
|
|
Component[] compClientCert = {new UILabel(Toolkit.i18nText("Fine-Design_Basic_Ssl_Client_Cert") + ":", SwingConstants.RIGHT), filePanelClientCert}; |
|
|
|
|
JPanel filePanelClientKey = FRGUIPaneFactory.createLeftFlowZeroGapBorderPane(); |
|
|
|
|
filePanelClientKey.add(keyPathClientKey); |
|
|
|
|
filePanelClientKey.add(fileChooserButtonClientKey); |
|
|
|
|
JPanel filePanelClientKey = TableLayoutHelper.createCommonTableLayoutPane(new Component[][]{{keyPathClientKey, fileChooserButtonClientKey}}, new double[]{p}, new double[]{f, 20}, 0); |
|
|
|
|
Component[] compClientKey = {new UILabel(Toolkit.i18nText("Fine-Design_Basic_Ssl_Client_Key") + ":", SwingConstants.RIGHT), filePanelClientKey}; |
|
|
|
|
Component[] comCipher = {new UILabel(Toolkit.i18nText("Fine-Design_Basic_Ssl_Cipher") + ":", SwingConstants.RIGHT), cipher}; |
|
|
|
|
usingComps = new Component[][]{ |
|
|
|
|