foEdit.pclBug = checkPCLBug.isSelected();
        public void actionPerformed(ActionEvent e) {                        try {                foEdit.port = Integer.parseInt(textPort.getText());                                foEdit.maxDial = ((Integer)spinMaxDial.getValue()).intValue();                foEdit.maxTry = ((Integer)spinMaxTry.getValue()).intValue();                                foEdit.notifyAddress = textNotifyAddress.getText();                foEdit.host = textHost.getText();                foEdit.user = textUser.getText();                foEdit.pass = textPassword.getText();                foEdit.faxViewer = ftfFaxViewer.getText();                foEdit.psViewer = ftfPSViewer.getText();                                foEdit.notifyWhen = (FaxStringProperty)comboNotify.getSelectedItem();                foEdit.paperSize = (PaperSize)comboPaperSize.getSelectedItem();                foEdit.resolution = (FaxIntProperty)comboResolution.getSelectedItem();                foEdit.tzone = (FaxStringProperty)comboTZone.getSelectedItem();                foEdit.newFaxAction = (FaxIntProperty)comboNewFaxAction.getSelectedItem();                                foEdit.pasv = checkPasv.isSelected();                                foEdit.recvfmt = recvfmt;                foEdit.sentfmt = sentfmt;                foEdit.sendingfmt = sendingfmt;                                foEdit.FromCompany = textFromCompany.getText();                foEdit.FromFaxNumber = textFromFaxNumber.getText();                foEdit.FromLocation = textFromLocation.getText();                foEdit.FromName = textFromName.getText();                foEdit.FromVoiceNumber = textFromVoicenumber.getText();            } catch (NumberFormatException e1) {                JOptionPane.showMessageDialog(ButtonOK, _("Please enter a number."));            }                        modalResult = true;            dispose();        }