buttonGroup.add(rdbtnDefault);
panelAccessModifiers.add(rdbtnDefault);
JPanel panelOtherModifiers = new JPanel();
panelModifiers.add(panelOtherModifiers, BorderLayout.EAST);
panelOtherModifiers.setLayout(new WrapLayout());
chckbxStatic = new JCheckBox("STATIC");
panelOtherModifiers.add(chckbxStatic);
chckbxAbstract = new JCheckBox("ABSTRACT");
panelOtherModifiers.add(chckbxAbstract);
chckbxFinal = new JCheckBox("FINAL");
panelOtherModifiers.add(chckbxFinal);
chckbxEnum = new JCheckBox("ENUM");
panelOtherModifiers.add(chckbxEnum);
JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
panelMisc = new JPanel();
tabbedPane.addTab("Misc.", null, panelMisc, null);
panelMisc.setLayout(new GridLayout(0, 2, 0, 0));
lblClassVersion = new JLabel("Class Version: ");
panelMisc.add(lblClassVersion);
comboBoxClassVersion = new JComboBox<ClassVersion>();
comboBoxClassVersion.setModel(new DefaultComboBoxModel(ClassVersion.values()));
comboBoxClassVersion.setSelectedIndex(v);
panelMisc.add(comboBoxClassVersion);
tabbedPane.addTab("Modifiers", panelModifiers);
tabbedPane.addTab("Names", panelNames);
panelNames.setLayout(new BorderLayout(0, 0));
panelNamesInner = new JPanel();
panelNames.add(panelNamesInner);
panelNamesInner.setLayout(new GridLayout(0, 2, 0, 0));
lblClassName = new JLabel("Class Name: ");
panelNamesInner.add(lblClassName);
textFieldClassName = new JTextField(parse(cNode.name));
panelNamesInner.add(textFieldClassName);
textFieldClassName.setColumns(10);
lblSuperClassName = new JLabel("Super Class Name: ");
panelNamesInner.add(lblSuperClassName);
textFieldSuperClassName = new JTextField(parse(cNode.superName));
panelNamesInner.add(textFieldSuperClassName);
textFieldSuperClassName.setColumns(10);
lblPlaceholder = new JLabel("Signature: ");
panelNamesInner.add(lblPlaceholder);
textFieldSignature = new JTextField(parse(cNode.signature));
panelNamesInner.add(textFieldSignature);
textFieldSignature.setColumns(10);
lblOuterClass = new JLabel("Outer Class: ");
panelNamesInner.add(lblOuterClass);
textFieldOuterClass = new JTextField(parse(cNode.outerClass));
panelNamesInner.add(textFieldOuterClass);
textFieldOuterClass.setColumns(10);
lblOuterMethod = new JLabel("Outer Method: ");
panelNamesInner.add(lblOuterMethod);
textFieldOuterMethod = new JTextField(parse(cNode.outerMethod));
panelNamesInner.add(textFieldOuterMethod);
textFieldOuterMethod.setColumns(10);
lblOuterMethodDescriptor = new JLabel("Outer Method Descriptor: ");
panelNamesInner.add(lblOuterMethodDescriptor);
textFieldOuterMethodDesc = new JTextField(parse(cNode.outerMethodDesc));
panelNamesInner.add(textFieldOuterMethodDesc);
textFieldOuterMethodDesc.setColumns(10);
lblSourceFile = new JLabel("Source File: ");
panelNamesInner.add(lblSourceFile);
textFieldSourceFile = new JTextField(parse(cNode.sourceFile));
panelNamesInner.add(textFieldSourceFile);
textFieldSourceFile.setColumns(10);
lblSourceDebug = new JLabel("Source Debug: ");
panelNamesInner.add(lblSourceDebug);
textFieldSourceDebug = new JTextField(parse(cNode.sourceDebug));
panelNamesInner.add(textFieldSourceDebug);
textFieldSourceDebug.setColumns(10);
add(tabbedPane);
JPanel panelInterfaces = new JPanel();
tabbedPane.addTab("Interfaces", null, panelInterfaces, null);
panelInterfaces.setLayout(new BorderLayout(0, 0));
listInterfaces = new JList<String>();
listInterfaces.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
panelInterfaces.add(listInterfaces);
interfaceModel = new DefaultListModel<String>();
for (String inter : (List<String>) cNode.interfaces) {
interfaceModel.addElement(inter);
}
listInterfaces.setModel(interfaceModel);
panelInterfaceControls = new JPanel();
panelInterfaces.add(panelInterfaceControls, BorderLayout.NORTH);
panelInterfaceControls.setLayout(new WrapLayout());
btnAddInterface = new JButton("Add...");
panelInterfaceControls.add(btnAddInterface);
btnAddInterface.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent paramActionEvent) {