txConfUserPassword = new JPasswordField();
txOwnerPassword = new JPasswordField();
txConfOwnerPassword = new JPasswordField();
cxAllowCopy = new JCheckBox(getResources().getString("pdfsavedialog.allowCopy")); //$NON-NLS-1$
cbAllowPrinting = new JComboBox(getPrintingComboBoxModel());
cxAllowScreenReaders =
new JCheckBox(getResources().getString(
"pdfsavedialog.allowScreenreader")); //$NON-NLS-1$
cxAllowAssembly = new JCheckBox(getResources().getString(
"pdfsavedialog.allowAssembly")); //$NON-NLS-1$
cxAllowModifyContents =
new JCheckBox(getResources().getString(
"pdfsavedialog.allowModifyContents")); //$NON-NLS-1$
cxAllowModifyAnnotations =
new JCheckBox(getResources().getString(
"pdfsavedialog.allowModifyAnnotations")); //$NON-NLS-1$
cxAllowFillIn = new JCheckBox(getResources().getString(
"pdfsavedialog.allowFillIn")); //$NON-NLS-1$
txFilename = new JTextField();
txFilename.setColumns(40);
statusBar = new JStatusBar();
encodingModel = EncodingComboBoxModel.createDefaultModel(Locale.getDefault());
encodingModel.sort();
cbEncoding = new JComboBox(encodingModel);
cxEmbedded = new JCheckBox(getResources().getString("pdfsavedialog.embedfonts"));
getFormValidator().registerTextField(txFilename);
getFormValidator().registerTextField(txConfOwnerPassword);
getFormValidator().registerTextField(txConfUserPassword);