1 19 20 21 package org.netbeans.modules.j2ee.sun.ide.j2ee.ui; 22 23 import org.openide.NotifyDescriptor; 24 import org.openide.util.NbBundle; 25 26 30 public class MasterPasswordInputDialog extends NotifyDescriptor { 31 32 33 36 protected MasterPasswordInputPanel panel=new MasterPasswordInputPanel(); 37 static protected final String title =NbBundle.getMessage(MasterPasswordInputDialog.class, "MasterPasswordInputDialog_title"); 38 42 public MasterPasswordInputDialog() { 43 super(null, title, NotifyDescriptor.OK_CANCEL_OPTION, NotifyDescriptor.PLAIN_MESSAGE, null, null); 44 super.setMessage(panel); 45 } 46 47 48 49 53 public String getInputText() { 54 return panel.getMasterPassword(); 55 } 56 57 58 } | Popular Tags |