@@ -0,0 +1,3135 @@
+package org.apache.jmeter.assertions.gui;%0A%0Aimport org.apache.jmeter.assertions.JSONSchemaAssertion;%0Aimport org.apache.jmeter.gui.util.HorizontalPanel;%0Aimport org.apache.jmeter.gui.util.VerticalPanel;%0Aimport org.apache.jmeter.testelement.TestElement;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0Aimport javax.swing.*;%0Aimport java.awt.*;%0A%0A/**%0A * JSON Schema Assertion component GUI.%0A */%0Apublic class JSONSchemaAssertionGui extends AbstractAssertionGui %7B%0A    private static final Logger log = LoggerFactory.getLogger(JSONSchemaAssertionGui.class);%0A    private static final long serialVersionUID = 241L;%0A    private JTextField jsonSchema;%0A%0A    public JSONSchemaAssertionGui() %7B%0A        init();%0A    %7D%0A%0A    /**%0A     * Return the label.%0A     */%0A    @Override%0A    public String getStaticLabel() %7B%0A        return %22JSON Schema Assertion%22;%0A    %7D%0A%0A    @Override%0A    public String getLabelResource() %7B%0A        return this.getClass().getSimpleName();%0A    %7D%0A%0A    /**%0A     * Create Test Element.%0A     */%0A    @Override%0A    public TestElement createTestElement() %7B%0A        log.debug(%22JSONSchemaAssertionGui.createTestElement() called%22);%0A        JSONSchemaAssertion el = new JSONSchemaAssertion();%0A        modifyTestElement(el);%0A        return el;%0A    %7D%0A%0A    /**%0A     * Modify a given TestElement to mirror the data in the gui components.%0A     *%0A     * @see org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement(TestElement).%0A     */%0A    @Override%0A    public void modifyTestElement(TestElement inElement) %7B%0A        log.debug(%22JSONSchemaAssertionGui.modifyTestElement() called%22);%0A        configureTestElement(inElement);%0A        ((JSONSchemaAssertion) inElement).setJsdFileName(jsonSchema.getText());%0A    %7D%0A%0A    /**%0A     * Implement JMeterGUIComponent.clearGui.%0A     */%0A    @Override%0A    public void clearGui() %7B%0A        super.clearGui();%0A%0A        jsonSchema.setText(%22%22); //$NON-NLS-1$%0A    %7D%0A%0A    /**%0A     * Configure the GUI from the associated test element.%0A     *%0A     * @param el -%0A     *            the test element (should be JSONSchemaAssertion).%0A     */%0A    @Override%0A    public void configure(TestElement el) %7B%0A        super.configure(el);%0A        JSONSchemaAssertion assertion = (JSONSchemaAssertion) el;%0A        jsonSchema.setText(assertion.getJsdFileName());%0A    %7D%0A%0A    /**%0A     * Initialize the GUI.%0A     */%0A    private void init() %7B%0A        setLayout(new BorderLayout(0, 10));%0A        setBorder(makeBorder());%0A%0A        add(makeTitlePanel(), BorderLayout.NORTH);%0A%0A        JPanel mainPanel = new JPanel(new BorderLayout());%0A%0A        // USER_INPUT%0A        VerticalPanel assertionPanel = new VerticalPanel();%0A        assertionPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),%0A                %22JSON Schema%22));%0A%0A        // Doctype%0A        HorizontalPanel jsonSchemaPanel = new HorizontalPanel();%0A%0A        jsonSchemaPanel.add(new JLabel(%22File Name:%22));%0A%0A        jsonSchema = new JTextField(26);%0A        jsonSchemaPanel.add(jsonSchema);%0A%0A        assertionPanel.add(jsonSchemaPanel);%0A%0A        mainPanel.add(assertionPanel, BorderLayout.NORTH);%0A        add(mainPanel, BorderLayout.CENTER);%0A    %7D%0A%7D%0A

Create JSONSchemaAssertionGui.java