setTitle(res.getString("SETTINGS"));
  public Options(JFrame SFrame) {    super(SFrame, true);    Dimension screen = getToolkit().getScreenSize();    setBounds((screen.width - 450)/2, (screen.height - 250)/2, 450, 250);    setResizable(false);    try { res = ResourceBundle.getBundle("org.gjt.fredde.yamm.resources.YAMM", Locale.getDefault()); }    catch (MissingResourceException mre) {      mre.printStackTrace();      System.exit(1);    }    JTPane = new JTabbedPane(JTabbedPane.LEFT);    Box vert = Box.createVerticalBox();    Box hori = Box.createHorizontalBox();    Box vert2 = Box.createVerticalBox();        JButton b = new JButton(res.getString("ADD"), new ImageIcon("org/gjt/fredde/yamm/images/buttons/new.gif") );    b.addActionListener(BListener);    vert.add(b);    vert.add(Box.createRigidArea(new Dimension(10, 10)));    b = new JButton(res.getString("EDIT"), new ImageIcon("org/gjt/fredde/yamm/images/buttons/edit.gif"));    b.addActionListener(BListener);    vert.add(b);    vert.add(Box.createRigidArea(new Dimension(10, 10)));    b = new JButton(res.getString("DELETE"), new ImageIcon("org/gjt/fredde/yamm/images/buttons/delete.gif"));    b.addActionListener(BListener);    vert.add(b);    vert.add(Box.createRigidArea(new Dimension(10, 10)));    vect1 = new Vector();    vect2 = new Vector();    File[] files = new File(System.getProperty("user.home") + "/.yamm/servers/").listFiles();    for(int i=0;i<files.length;i++) {      try {        InputStream in = new FileInputStream(files[i]); //  + "/.config");        props = new Properties();        props.load(in);        in.close();      } catch (IOException propsioe) { System.err.println(propsioe); }      vect1.add(props.getProperty("type"));      vect1.add(props.getProperty("server"));      vect1.add(files[i]);      vect2.add(vect1);      vect1 = new Vector();    }    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); }    vect1.add(new String("SMTP"));    vect1.add(props.getProperty("smtpserver"));    vect1.add(new String(System.getProperty("user.home") + "/.yamm/.config"));    vect2.add(vect1);    TableModel dataModel = new AbstractTableModel() {      String temp[] = { res.getString("TYPE"), res.getString("ADDRESS")};      public int getColumnCount() { return 2; }      public int getRowCount() { return ((Vector)vect2).size(); }      public Object getValueAt(int row, int col) { return ((Vector)vect2.elementAt(row)).elementAt(col); }      public boolean isCellEditable(int col) { return false; }      public String getColumnName(int column) { return temp[column]; }    };    ServerList = new JTable(dataModel);    TableColumn column = ServerList.getColumnModel().getColumn(0);    column.setPreferredWidth(40);    column.setMaxWidth(50);    column.setMinWidth(40);    JScrollPane JSPane = new JScrollPane(ServerList, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);    JSPane.setMaximumSize(new Dimension(200,100));    JSPane.setMinimumSize(new Dimension(200,100));        hori.add(Box.createRigidArea(new Dimension(10, 10)));    hori.add(JSPane);    hori.add(Box.createRigidArea(new Dimension(10, 10)));    hori.add(vert);    JTPane.add(res.getString("SERVERS"), hori);    vert = Box.createVerticalBox();    filterConf(vert);       JTPane.add(res.getString("FILTERS"), vert);    hori = Box.createVerticalBox();    identitetConfig(hori);    JTPane.add(res.getString("IDENTITY"), hori);/*    hori = Box.createVerticalBox();    VisualConfig(hori);    JTPane.add(res.getString("VISUAL"), hori);*/    hori = Box.createHorizontalBox();    b = new JButton(res.getString("OK"), new ImageIcon("org/gjt/fredde/yamm/images/buttons/ok.gif"));    b.addActionListener(BListener);    hori.add(b);    hori.add(Box.createRigidArea(new Dimension(10, 10)));    vert2.add(JTPane);    vert2.add(Box.createRigidArea(new Dimension(10, 10)));    vert2.add(hori);    getContentPane().add(vert2);    show();  }