panels[0].add(this.jRB_useOwnCode_checkMethod, BorderLayout.NORTH);
this.rightPanel_checkMethod.add(new JLabel("Code for check method:"), BorderLayout.NORTH);
LuposDocument document_checkJavaCode = new LuposDocument();
this.jTP_checkJavaCode = new LuposJTextPane(document_checkJavaCode);
document_checkJavaCode.init(JavaScanner.createILuposParser(new LuposDocumentReader(document_checkJavaCode)), true);
JScrollPane jSP_checkJavaCode = new JScrollPane(this.jTP_checkJavaCode);
this.rightPanel_checkMethod.add(jSP_checkJavaCode, BorderLayout.CENTER);
JPanel innerPanel=new JPanel(new FlowLayout(FlowLayout.LEFT));
innerPanel.add(new JLabel("Start node:"));
// build drop down menu for class names...
this.jCB_startNode = new JComboBox(Arrays.asList(RuleEnum.class.getEnumConstants()).toArray());
innerPanel.add(this.jCB_startNode);
this.rightPanel_checkMethod.add(innerPanel, BorderLayout.SOUTH);
panels[0].add(this.rightPanel_checkMethod, BorderLayout.CENTER);
this.rightPanel_replaceMethod = new JPanel(new BorderLayout());
this.jRB_useOwnCode_replaceMethod = new JRadioButton("Use own code", true);
this.jRB_useOwnCode_replaceMethod.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ee) {
that.enableSidePanel(that.leftPanel_replaceMethod, false);
that.enableSidePanel(that.rightPanel_replaceMethod, true);
}
});
this.buttonGroup_replaceMethod.add(this.jRB_useOwnCode_replaceMethod);
panels[1]=new JPanel(new BorderLayout());
panels[1].add(this.jRB_useOwnCode_replaceMethod, BorderLayout.NORTH);
this.rightPanel_replaceMethod.add(new JLabel("Code for replace method:"), BorderLayout.NORTH);
LuposDocument document_replaceJavaCode = new LuposDocument();
this.jTP_replaceJavaCode = new LuposJTextPane(document_replaceJavaCode);
document_replaceJavaCode.init(JavaScanner.createILuposParser(new LuposDocumentReader(document_replaceJavaCode)), true);
JScrollPane jSP_replaceJavaCode = new JScrollPane(this.jTP_replaceJavaCode);
this.rightPanel_replaceMethod.add(jSP_replaceJavaCode, BorderLayout.CENTER);