1 19 20 package org.netbeans.modules.xml.multiview.ui; 21 import org.openide.DialogDescriptor; 22 23 import org.openide.util.NbBundle; 24 25 31 public class ConfirmDialog extends DialogDescriptor { 32 33 34 public ConfirmDialog(String text, String title) { 35 super (text,title,true, 36 DialogDescriptor.YES_NO_OPTION, 37 DialogDescriptor.NO_OPTION, 38 DialogDescriptor.BOTTOM_ALIGN, 39 null, 40 null); 41 } 42 43 44 public ConfirmDialog(String text) { 45 this(text,NbBundle.getMessage(ConfirmDialog.class,"TTL_ConfirmationDialog")); 46 } 47 } 48 | Popular Tags |