private void insertComplete () {
        String completeString = "<Transform translation='0.0 0.0 0.0' rotation='0.0 0.0 0.0 0.0'>\n\t\t<Shape>\n\t\t\t<Box";
        if (headerBlock.nameSelect.isSelected()) {
            if ((!headerBlock.objectName.getText().equals("")) && (!xSize.getText().equals("")) && (!ySize.getText().equals("")) && (!zSize.getText().equals(""))) {
                completeString += " DEF='"+headerBlock.objectName.getText()+"' size='"+
                        xSize.getText()+" "+
                        ySize.getText()+" "+
                        zSize.getText()+"' solid='"+
                        solidBox.isSelected()+"'/>\n\t\t\t<Appearance>\n\t\t\t\t<Material ";
                if (footerBlock.colorKind.getSelectedIndex() == 0) completeString += "diffuseColor=";
                else if (footerBlock.colorKind.getSelectedIndex() == 1) completeString += "emissiveColor=";
                else completeString += "specularColor=";
                completeString += "'"+((float)footerBlock.red/255)+" "+((float)footerBlock.green/255)+" "+((float)footerBlock.blue/255)+"'/>\n";
                if ((subfooterBlock.textureBox.isSelected()) && (subfooterBlock.texturePath != null)) {
                    completeString += "\t\t\t\t<ImageTexture repeatS='"+
                            subfooterBlock.hBox.isSelected()+"' repeatT='"+
                            subfooterBlock.vBox.isSelected()+"' url='"+
                            subfooterBlock.texturePath+"'/>\n";
                }
                completeString += "\t\t\t</Appearance>\n\t\t</Shape>\n\t</Transform>";
                backTrack.appendString(completeString);
                formWindowClosing();
            } else {
                Cerrorinterface bck = new Cerrorinterface("EMPTIEERR", false);
            }
        } else {
            completeString += " USE='"+
                        headerBlock.useName.getSelectedItem()+"'/>\n\t\t</Shape>\n\t</Transform>";
            backTrack.appendString(completeString);
            formWindowClosing();
        }
        backTrack.tagsUpdater.switchUpdate();
    }