((JLabel)c).setBackground(Themes.getBgColor());
	public static void initTree() {		tree.setExpandsSelectedPaths(true);		tree.setScrollsOnExpand(true);		TreeSelectionModel treeSelection = new DefaultTreeSelectionModel();		treeSelection.setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);		tree.setSelectionModel(treeSelection);		/**************************************************************/		/***/		if(currentFolder.getAbsolutePath().startsWith(root.getAbsolutePath())) {			String homeName = currentFolder.getAbsolutePath();			TreePath homePath = new TreePath(root);			int currentSeparator = root.getAbsolutePath().length();			int indexSeparator = homeName.indexOf(File.separatorChar, currentSeparator);			if(indexSeparator == currentSeparator) {				currentSeparator = indexSeparator + 1;				indexSeparator = homeName.indexOf(File.separatorChar, currentSeparator);			}			while(indexSeparator != -1) {				homePath = homePath.pathByAddingChild(new File(homeName.substring(0, indexSeparator)));				tree.expandPath(homePath);				currentSeparator = indexSeparator + 1;				indexSeparator = homeName.indexOf(File.separatorChar, currentSeparator);			}			if(!currentFolder.equals(root)) homePath = homePath.pathByAddingChild(currentFolder);			tree.setSelectionPath(homePath);			tree.expandPath(homePath);			tree.scrollPathToVisible(homePath);		}		/***/		/**************************************************************/		/* POSITIONNEMENT DU RENDU */		tree.setCellRenderer(new DefaultTreeCellRenderer() {			public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {				Component c = super.getTreeCellRendererComponent(tree, value, selected, expanded, leaf, row, hasFocus);				if(value == null) return new JLabel("");				File file = (File)value;				if(file.getName().compareTo("") == 0) ((JLabel)c).setText(file.getAbsolutePath());				else ((JLabel)c).setText(file.getName());				if(selected) ((JLabel)c).setIcon(IconsManager.focus_icon);				else if(expanded) ((JLabel)c).setIcon(IconsManager.small_father_icon);				else ((JLabel)c).setIcon(IconsManager.small_folder_icon);				return c;			}		});		/* POSITIONNEMENT DES EVENEMENT SOURIS */		tree.addMouseListener(new MouseAdapter() {			private TreePath oldPath = null;			public void mouseClicked(MouseEvent e) {				TreePath path = tree.getPathForLocation(e.getX(), e.getY());				File file = null;				if(path != null) file = (File)path.getLastPathComponent();				else if(oldPath != null) {					tree.setSelectionPath(oldPath);					tree.scrollPathToVisible(path);					oldPath = null;				}				switch(e.getButton()) {					case MouseEvent.BUTTON1 :					if(file != null && e.getClickCount() == 1) {						tree.setSelectionPath(path);						tree.expandPath(path);						if(!file.equals(currentFolder)) setFolder(file);					}					break;										case MouseEvent.BUTTON2 :					break;										case MouseEvent.BUTTON3 :					if(file == null) clickInFile.show(e.getComponent(), e.getX(), e.getY());					else {						if(oldPath == null) oldPath = tree.getSelectionPath();						tree.setSelectionPath(path);						tree.scrollPathToVisible(path);						clickOutFile.show(e.getComponent(), e.getX(), e.getY());					}					break;				}			}		});	}