domainIdTextField = new JTextField(null, 0);
domainIdTextField.setColumns(35);
domainIdTextField.getDocument().addDocumentListener(new DomainTextFieldDocumentListener());
queryTextArea = new RSyntaxTextArea();
queryTextArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_XML);
queryTextArea.setWrapStyleWord(true);
queryTextArea.setLineWrap(true);
queryTextArea.setRows(5);
queryTextArea.getDocument().addDocumentListener(new QueryDocumentListener());
queryDesignerButton = new JButton(new QueryDesignerAction());
queryDesignerButton.setEnabled(false);
queryDesignerButton.setBorder(new EmptyBorder(0, 0, 0, 0));
globalScriptTextArea = new RSyntaxTextArea();
globalScriptTextArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_NONE);
globalLanguageField = new SmartComboBox(new DefaultComboBoxModel(getScriptEngineLanguages()));
globalLanguageField.setRenderer(new QueryLanguageListCellRenderer());
globalLanguageField.addActionListener(new UpdateScriptLanguageHandler());
queryScriptTextArea = new RSyntaxTextArea();
queryScriptTextArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_NONE);
queryScriptTextArea.getDocument().addDocumentListener(new QueryScriptDocumentListener());
queryLanguageListCellRenderer = new QueryLanguageListCellRenderer();