addTab("Debug", icon5, DebugController.getInstance().getComponent());
ImageIcon icon7 = im.getIcon("debug"); addTab("Debug", icon7, DebugController.getInstance().getComponent());
    private void init() {        LanguageSelector.getInstance().addLanguageListener(this);        setModel(new DefaultSingleSelectionModel() {			public void setSelectedIndex(int index) {                int oldIndex = getSelectedIndex();                if (oldIndex != -1) {                    tabFocusLost(oldIndex);                }                super.setSelectedIndex(index);            }        });        startController = StartController.getInstance();        if (AppleJuiceClient.splash != null) {            AppleJuiceClient.splash.setProgress(40, "Lade Sharepanel...");        }        shareController = ShareController.getInstance();        if (AppleJuiceClient.splash != null) {            AppleJuiceClient.splash.setProgress(50, "Lade Downloadpanel...");        }        downloadController = DownloadController.getInstance();        if (AppleJuiceClient.splash != null) {            AppleJuiceClient.splash.setProgress(60, "Lade Uploadpanel...");        }        uploadController = UploadController.getInstance();        if (AppleJuiceClient.splash != null) {            AppleJuiceClient.splash.setProgress(70, "Lade Searchpanel...");        }        searchController = SearchController.getInstance();        if (AppleJuiceClient.splash != null) {            AppleJuiceClient.splash.setProgress(80, "Lade Serverpanel...");        }        serverPanel = ServerPanel.getInstance();        IconManager im = IconManager.getInstance();        ImageIcon icon = im.getIcon("start");        addTab("Start", icon, startController.getComponent());        ImageIcon icon6 = im.getIcon("meinshare");        addTab("Share", icon6, shareController.getComponent());        ImageIcon icon2 = im.getIcon("suchen");        addTab("Suchen", icon2, searchController.getComponent());        ImageIcon icon3 = im.getIcon("download");        addTab("Download", icon3, downloadController.getComponent());        ImageIcon icon4 = im.getIcon("upload");        addTab("Upload", icon4, uploadController.getComponent());        ImageIcon icon5 = im.getIcon("server");        addTab("Server", icon5, serverPanel);                if (Logger.getRootLogger().isEnabledFor(Level.DEBUG)){            addTab("Debug", icon5, DebugController.getInstance().getComponent());        }        if (AppleJuiceClient.splash != null) {            AppleJuiceClient.splash.setProgress(90, "Lade Plugins...");        }        if (OptionsManagerImpl.getInstance().shouldLoadPluginsOnStartup()) {            loadPlugins();        }    }