| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
package org.homeunix.thecave.buddi.view.dialogs; |
| 5 | |
|
| 6 | |
import org.homeunix.thecave.buddi.i18n.BuddiKeys; |
| 7 | |
import org.homeunix.thecave.buddi.i18n.keys.ButtonKeys; |
| 8 | |
import org.homeunix.thecave.buddi.plugin.api.util.TextFormatter; |
| 9 | |
|
| 10 | |
import ca.digitalcave.moss.swing.MossPasswordInputDialog; |
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
|
| 18 | |
public class BuddiPasswordDialog extends MossPasswordInputDialog { |
| 19 | |
public static final long serialVersionUID = 0; |
| 20 | |
|
| 21 | |
public BuddiPasswordDialog() { |
| 22 | 0 | super( |
| 23 | |
TextFormatter.getTranslation(BuddiKeys.MESSAGE_ENTER_PASSWORD), |
| 24 | |
TextFormatter.getTranslation(BuddiKeys.MESSAGE_ENTER_PASSWORD_TITLE), |
| 25 | |
TextFormatter.getTranslation(BuddiKeys.HINT_PASSWORD), |
| 26 | |
TextFormatter.getTranslation(BuddiKeys.HINT_CONFIRM_PASSWORD), |
| 27 | |
TextFormatter.getTranslation(BuddiKeys.MESSAGE_ERROR_PASSWORDS_DONT_MATCH), |
| 28 | |
TextFormatter.getTranslation(BuddiKeys.ERROR), |
| 29 | |
TextFormatter.getTranslation(BuddiKeys.MESSAGE_ERROR_NO_PASSWORD_ENTERED), |
| 30 | |
TextFormatter.getTranslation(BuddiKeys.ERROR), |
| 31 | |
TextFormatter.getTranslation(ButtonKeys.BUTTON_OK), |
| 32 | |
TextFormatter.getTranslation(ButtonKeys.BUTTON_CANCEL) |
| 33 | |
); |
| 34 | 0 | } |
| 35 | |
} |