jAlbumTree.setCellRenderer(new AlbumTreeRenderer()); ((JLabel) jAlbumTree.getCellRenderer()).setPreferredSize(new Dimension(GalleryRemote._().properties.getIntProperty("albumPictureDividerLocation"), -1));
AlbumTreeRenderer albumTreeRenderer = new AlbumTreeRenderer(); albumTreeRenderer.setLeafIcon(null); albumTreeRenderer.setOpenIcon(null); albumTreeRenderer.setClosedIcon(null); jAlbumTree.setCellRenderer(albumTreeRenderer);  ToolTipManager.sharedInstance().registerComponent(jAlbumTree);
	public void startup() {		try {			jbInit();			jbInitEvents();		} catch (Exception e) {			Log.logException(Log.LEVEL_CRITICAL, MODULE, e);		}		setBounds(GalleryRemote._().properties.getMainBounds());		setJMenuBar(jMenuBar1);		jGalleryCombo.setEditable(false);		jGalleryCombo.setRenderer(new GalleryListRenderer());		jPicturesList.setCellRenderer(new CoreUtils.FileCellRenderer());		jPicturesList.setInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, null);		jPicturesList.setInputMap(JComponent.WHEN_FOCUSED, null);		jPicturesList.setInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW, null);		jAlbumTree.setMainFrame(this);		jAlbumTree.setRootVisible(false);		jAlbumTree.setScrollsOnExpand(true);		jAlbumTree.setShowsRootHandles(true);		jAlbumTree.setExpandsSelectedPaths(true);		jAlbumTree.setEnabled(true);		jAlbumTree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);		jAlbumTree.setCellRenderer(new AlbumTreeRenderer());		((JLabel) jAlbumTree.getCellRenderer()).setPreferredSize(new Dimension(GalleryRemote._().properties.getIntProperty("albumPictureDividerLocation"), -1));		jPictureInspector.setMainFrame(this);		jAlbumInspector.setMainFrame(this);		setGalleries(galleries);		jInspectorDivider.setDividerLocation(GalleryRemote._().properties.getIntProperty("inspectorDividerLocation"));		jAlbumPictureDivider.setDividerLocation(GalleryRemote._().properties.getIntProperty("albumPictureDividerLocation"));		setVisible(true);		previewFrame = new PreviewFrame();		previewFrame.initComponents();		previewFrame.addWindowListener(				new java.awt.event.WindowAdapter() {					public void windowClosing(java.awt.event.WindowEvent e) {						jCheckBoxMenuPreview.setState(false);					}				});		if (GalleryRemote._().properties.getShowPreview()) {			previewFrame.setVisible(true);		}		toFront();		readPreferences(GalleryRemote._().properties);		if (GalleryRemote._().isAppletMode()) {			/*Gallery g = getCurrentGallery();			g.getComm(jStatusBar).isLoggedIn = true;*/			fetchAlbums();		}		resetUIState();		// Load a state file		if (GalleryRemote._().properties.getLoadLastMRU()) {			String lastMRUFile = GalleryRemote._().properties.getMRUItem(1);			if (null != lastMRUFile) {				openState(lastMRUFile);			}		}		//new UploadProgress();		ImageUtils.deferredTasks();	}