public JPanel createPanel(JFrame frame) throws NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, ClassNotFoundException {
		
		String type = this.getType();
		
		@SuppressWarnings("unchecked")
		Class<? extends JPanel> panelClazz = (Class<? extends JPanel>) Class.forName(type);
		Constructor<? extends JPanel> constr = panelClazz.getConstructor(JFrame.class, QueryDefinition.class);
		return constr.newInstance(frame, this);
	}