treeInitialisiert = true;
    public void registerSelected() {        try{            if (!initialized) {                initialized = true;                shareTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);                TableColumnModel headerModel = shareTable.getTableHeader().getColumnModel();                int columnCount = headerModel.getColumnCount();                PositionManager pm = PropertiesManager.getPositionManager();                if (pm.isLegal()) {                    int[] widths = pm.getShareWidths();                    for (int i = 0; i < columnCount; i++) {                        headerModel.getColumn(i).setPreferredWidth(widths[i]);                    }                }                else {                    for (int i = 0; i < columnCount; i++) {                        headerModel.getColumn(i).setPreferredWidth(shareTable.getWidth() / columnCount);                    }                }            }            if (!treeInitialisiert)            {                new Thread(){                    public void run(){                        ajSettings = ApplejuiceFassade.getInstance().getAJSettings();                        DirectoryNode.setShareDirs(ajSettings.getShareDirs());                        SwingUtilities.invokeLater(new Runnable(){                            public void run(){                                treeInitialisiert = true;                                initShareSelectionTree();                            }                        });                    }                }.start();            }        }        catch (Exception e)        {            if (logger.isEnabledFor(Level.ERROR))                logger.error("Unbehandelte Exception", e);        }    }