break;
case PathField.TYPE_OUTPUTFILE:
fDlg = new FileDialog( (Frame) win, dlgTxt, FileDialog.SAVE );
break;
case PathField.TYPE_FOLDER:
fDlg = new FolderDialog( (Frame) win, dlgTxt );
break;
default:
fDlg = null;
assert false : (type & PathField.TYPE_BASICMASK);
break;