|| (f == d.getToolBar().getJFrame() && d.getLastSelectedWindow() == this);
|| (f == JSLDesktop.getToolBar().getJFrame() && JSLDesktop.getLastSelectedWindow() == this);
	public boolean isSelected() {	    //return isActive() || lastselection == this;	    JSLDesktop d = JSLDesktop.getInstance();	    JFrame f = d.getSelectedWindow();	    return (f == this)		|| (f == d.getToolBar().getJFrame() 		    && d.getLastSelectedWindow() == this);	}