if(actionCommand.equals(".")) { Buffer buffer = view.getBuffer(); actionCommand = buffer.getVFS().getParentOfPath( buffer.getPath()); } else if(actionCommand.equals("~")) actionCommand = System.getProperty("user.home");
	public void actionPerformed(ActionEvent evt)	{		View view = getView(evt);		DockableWindowManager dockableWindowManager			= view.getDockableWindowManager();		String actionCommand = evt.getActionCommand();		if(actionCommand == null)		{			CommandLine commandLine = getCommandLine(evt);			if(commandLine != null)			{				commandLine.promptLine(jEdit.getProperty(					"view.status.vfs-browser"),this);			}			else			{				dockableWindowManager.toggleDockableWindow(					VFSBrowserDockable.NAME);			}		}		else if(actionCommand.length() == 0)		{			dockableWindowManager.toggleDockableWindow(					VFSBrowserDockable.NAME);		}		else		{			dockableWindowManager.showDockableWindow(VFSBrowserDockable.NAME);			VFSBrowser browser = (VFSBrowser)dockableWindowManager				.getDockableWindow(VFSBrowserDockable.NAME)				.getComponent();			browser.setDirectory(actionCommand);		}	}