JLabel myLabel = new JLabel(res.getString("options.type"));
JLabel myLabel = new JLabel(YAMM.getString("options.type"));
    public SOptions(JDialog PDialog, boolean newserver) {      super(PDialog, true);      Dimension screen = getToolkit().getScreenSize();      setBounds((screen.width - 300)/2, (screen.height - 175)/2, 300, 175);      if(!newserver && ServerList.getSelectedRow() != -1 && !(ServerList.getSelectedRow() >= vect2.size())) config = ((Vector)vect2.elementAt(ServerList.getSelectedRow())).elementAt(2).toString();      setResizable(false);      getContentPane().setLayout(new GridLayout(5, 2, 10, 10));      if(!config.equals("new")) {        try {          InputStream in = new FileInputStream(config);          props = new Properties();          props.load(in);          in.close();        } catch (IOException propsioe) { System.err.println(propsioe); }      }      JLabel myLabel = new JLabel(res.getString("options.type"));      getContentPane().add(myLabel);                 String[] items = {"Pop3"};      JComboBox jcbox = new JComboBox(items);      getContentPane().add(jcbox);                 if(config.equals(System.getProperty("user.home") + "/.yamm/.config")) jcbox.setEnabled(false);      myLabel = new JLabel(res.getString("options.address") + ":");      getContentPane().add(myLabel);                 addrField = new JTextField();      addrField.setMaximumSize(new Dimension(200, 20));      addrField.setMinimumSize(new Dimension(200, 20));      if(!config.equals(System.getProperty("user.home") + "/.yamm/.config") && !config.equals("new"))        addrField.setText(props.getProperty("server"));      else if(!config.equals("new")) addrField.setText(props.getProperty("smtpserver"));      getContentPane().add(addrField);          myLabel = new JLabel(res.getString("options.username") + ": ");      getContentPane().add(myLabel);      userField = new JTextField();      userField.setMaximumSize(new Dimension(200, 20));      userField.setMinimumSize(new Dimension(200, 20));      if(config.equals(System.getProperty("user.home") + "/.yamm/.config")) userField.setEnabled(false);      else if(!config.equals("new")) userField.setText(props.getProperty("username"));      getContentPane().add(userField);      myLabel = new JLabel(res.getString("options.password") + ":");      getContentPane().add(myLabel);      JPField = new JPasswordField();      JPField.setMaximumSize(new Dimension(200, 20));      JPField.setMinimumSize(new Dimension(200, 20));      if(config.equals(System.getProperty("user.home") + "/.yamm/.config")) JPField.setEnabled(false);      else if(!config.equals("new")) JPField.setText(YAMM.decrypt(props.getProperty("password")));      getContentPane().add(JPField);      JButton b = new JButton(res.getString("button.ok"), new ImageIcon("org/gjt/fredde/yamm/images/buttons/ok.gif"));      b.addActionListener(BListener2);      getContentPane().add(b);      b = new JButton(res.getString("button.cancel"), new ImageIcon("org/gjt/fredde/yamm/images/buttons/cancel.gif"));      b.addActionListener(BListener2);      getContentPane().add(b);      show();    }