panel.add(new JLabel(res.getString("options.name") + ":"));
panel.add(new JLabel(YAMM.getString("options.name") + ":"));
  protected void identitetConfig(Box vbox) {    try {      InputStream in = new FileInputStream(System.getProperty("user.home") + "/.yamm/.config");      props = new Properties();      props.load(in);      in.close();    } catch (IOException propsioe) { System.err.println(propsioe); }    JPanel panel = new JPanel(new GridLayout(6, 1, 2, 2));    panel.setMaximumSize(new Dimension(600, 100));    panel.setMinimumSize(new Dimension(300, 100));    panel.add(new JLabel(res.getString("options.name") + ":"));    name = new JTextField(props.getProperty("username", System.getProperty("user.name")));    name.setMaximumSize(new Dimension(400, 20));    name.setMinimumSize(new Dimension(200, 20));    panel.add(name);    String host;    try {      host = InetAddress.getLocalHost().getHostName();    }    catch(UnknownHostException uhe) { host = "unknown.org"; }    panel.add(new JLabel("Email:"));    email = new JTextField(props.getProperty("email", System.getProperty("user.name") + "@" + host));    email.setMaximumSize(new Dimension(400, 20));    email.setMinimumSize(new Dimension(200, 20));    panel.add(email);    Box hori = Box.createHorizontalBox();    panel.add(new JLabel(res.getString("options.signatur") + ":"));    signatur = new JTextField();    signatur.setMaximumSize(new Dimension(400, 90));    signatur.setMinimumSize(new Dimension(190, 90));    signatur.setText(props.getProperty("signatur"));    hori.add(signatur);    hori.add(Box.createRigidArea(new Dimension(5, 5)));    JButton b = new JButton(res.getString("button.browse"), new ImageIcon("org/gjt/fredde/yamm/images/buttons/search.gif"));    b.setMaximumSize(new Dimension(230, 1000));     b.setMinimumSize(new Dimension(115, 1000));    b.addActionListener(BListener);                                        hori.add(b);    panel.add(hori);    vbox.add(panel);  }