System.out.println("tabelle ohne grid!!!!!!!!!!!!");
    public LdapBrowser() {        frame = new SFrame("LDAP Browser");	Session properties = SessionManager.getSession();	StringTokenizer attributes, labels;	int i;	server = (String)properties.getProperty("ldap.server.host");	basedn = (String)properties.getProperty("ldap.server.basedn");	binddn = (String)properties.getProperty("ldap.server.binddn");	password = (String)properties.getProperty("ldap.server.password");	Hashtable env = new Hashtable();	env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");	env.put(Context.PROVIDER_URL, "ldap://" + server);	env.put(Context.SECURITY_PRINCIPAL, binddn);	env.put(Context.SECURITY_CREDENTIALS, password);        	try {	    context = new InitialDirContext(env);	}	catch(NamingException e) {	    System.err.println(e.getMessage());	    e.printStackTrace(System.err);	}        namesVector = new Vector();        	attributes = new StringTokenizer((String)properties.getProperty("overview.attributes"), ",");	labels = new StringTokenizer((String)properties.getProperty("overview.labels"), ",");	overviewAttributes = new String[attributes.countTokens()];	overviewLabels = new String[labels.countTokens()];	i = 0;	while (attributes.hasMoreTokens()) {	    overviewAttributes[i] = attributes.nextToken();	    overviewLabels[i] = labels.nextToken();	    i++;	}	attributes = new StringTokenizer((String)properties.getProperty("detailview.attributes"), ",");	labels = new StringTokenizer((String)properties.getProperty("detailview.labels"), ",");	detailviewAttributes = new String[attributes.countTokens()];	detailviewLabels = new String[labels.countTokens()];	i = 0;	while (attributes.hasMoreTokens()) {	    detailviewAttributes[i] = attributes.nextToken();	    detailviewLabels[i] = labels.nextToken();	    i++;	}	this.searchAttribute = (String)properties.getProperty("search.attribute");	this.searchLabel = (String)properties.getProperty("search.label");        desktop = new SDesktopPane();	frame.getContentPane().add(desktop);	//searchFrame = new SFrame();	//frame.getContentPane().add(searchFrame);	searchFrame = new SInternalFrame();	desktop.add(searchFrame);        	//detailFrame = new SFrame();	//frame.getContentPane().add(detailFrame);	detailFrame = new SInternalFrame();	desktop.add(detailFrame);        	SForm searchForm = new SForm(new SFlowLayout());	searchForm.setBorder(new SBevelBorder());	SLabel label = new SLabel(searchLabel);	searchTextField = new STextField();	SButton submit = new SButton(SUBMIT);	submit.addActionListener(new SearchAction());                String[] data = {"ones", "two", "three", "four"};        namesList = new SList(data);                namesList.addListSelectionListener(new ListSelectionListener () {                 public void valueChanged(ListSelectionEvent e) {                    System.out.println("hhhhhhhhhhhhhhhhhhhhhhhhhhhh");                }            });         namesList.setVisibleRowCount(3);        namesList.setSelectionMode(SINGLE_SELECTION); 	searchForm.add(label);	searchForm.add(searchTextField);	searchForm.add(submit);	//searchForm.add(namesList);	searchFrame.getContentPane().add(searchForm, "North");	overviewModel = new OverviewModel();       namesForm = new SForm();        //namesForm.add(namesList);	table = new STable(overviewModel);        System.out.println("tabelle ohne grid!!!!!!!!!!!!");        table.setShowGrid(false);        table.setShowHorizontalLines(false);        table.setShowVerticalLines(false);                        table.setSelectionMode(SINGLE_SELECTION);                ListSelectionModel rowSM = table.getSelectionModel();        rowSM.addListSelectionListener(new ListSelectionListener() {                public void valueChanged(ListSelectionEvent e) {                    ListSelectionModel lsm = (ListSelectionModel)e.getSource();                    if (lsm.isSelectionEmpty()) {                    } else {                        int selectedRow = lsm.getMinSelectionIndex();                        showDetails(overviewModel.get(selectedRow));                    }                }            });	AttributesCellRenderer renderer = new AttributesCellRenderer();	renderer.setSelectableColumns(new int[] { 0 });	renderer.addCellSelectionListener(new CellSelectionListener() {		public void cellSelected(CellSelectionEvent e) {		    System.out.println("select: x=" + e.getXPosition() + ", y=" + e.getYPosition());		    showDetails(overviewModel.get(e.getYPosition()));		}	    });	table.setDefaultRenderer(Attribute.class, renderer);	searchFrame.getContentPane().add(table);        try {                        System.err.println(getClass().getResource("ldapbrowser.html"));            detailPanel = new SPanel(new                STemplateLayout(getClass().getResource("ldapbrowser.html")));            detailFrame.getContentPane().add(detailPanel, "Center");        }        catch(Exception e) {            e.printStackTrace(System.err);        }	SButton backButton = new SButton("ok");	backButton.addActionListener(new BackAction());	detailFrame.getContentPane().add(backButton, "South");        // the SInternalFrame	searchFrame.show();        // the SFrame        frame.show();    }