private void initGUI() { BasicTypeMapping.reset(); this.javaCodeTxtArea = new XBayaTextArea(); XBayaLabel operationLabel = new XBayaLabel("Operation", this.javaCodeTxtArea); GridPanel infoPanel = new GridPanel(); infoPanel.add(operationLabel); infoPanel.add(this.javaCodeTxtArea); checkBox = new JCheckBox("Export as webservice"); infoPanel.add(new XBayaLabel("", checkBox)); infoPanel.add(checkBox); infoPanel.layout(2, 2, 0, 0); JButton okButton = new JButton("OK"); okButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent e) { hide(); } }); JPanel buttonPanel = new JPanel(); buttonPanel.add(okButton); this.dialog = new XBayaDialog(this.engine.getGUI(), this.node.getName(), infoPanel, buttonPanel); this.dialog.setDefaultButton(okButton); }