| | |
| | | private JButton cancelButton; |
| | | private JButton okButton; |
| | | |
| | | private boolean isCancelled = true; |
| | | private boolean isCanceled = true; |
| | | |
| | | private ApplicationTrustManager trustManager; |
| | | private int timeout; |
| | |
| | | * @return <CODE>true</CODE> if the user clicked on cancel and |
| | | * <CODE>false</CODE> otherwise. |
| | | */ |
| | | public boolean isCancelled() |
| | | public boolean isCanceled() |
| | | { |
| | | return isCancelled; |
| | | return isCanceled; |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | private void cancelClicked() |
| | | { |
| | | isCancelled = true; |
| | | isCanceled = true; |
| | | dispose(); |
| | | } |
| | | |
| | |
| | | UIFactory.setTextStyle(lPwd, |
| | | UIFactory.TextStyle.PRIMARY_FIELD_VALID); |
| | | |
| | | isCancelled = false; |
| | | isCanceled = false; |
| | | cancelButton.setEnabled(true); |
| | | okButton.setEnabled(true); |
| | | dispose(); |