return (JSLFrame) ((JSLFrame.JSLFrameProxy)selected).getJSLFrame();
if (selected == toolbar.getJFrame()) return last_selected.getJSLFrame(); return ((JSLFrame.JSLFrameProxy)selected).getJSLFrame();
	public JSLFrame getSelectedJSLFrame() {	    try {		return (JSLFrame)		    ((JSLFrame.JSLFrameProxy)selected).getJSLFrame();	    } catch (Exception e) { return null; }	}