public TextBox createBox(boolean small) {
        TextBox newBox = new TextBox();
        newBox.setBorder(new EtchedBorder());
        newBox.setHighlighter(null);
        
        if (small) {
            newBox.setFont(new java.awt.Font("Monospaced", 0, 10));
        } else {
            newBox.setFont(new java.awt.Font("Monospaced", 0, 16));
        }
        
        newBox.addMouseListener(textBoxListener);
        newBox.getDocument().addDocumentListener(new DocListener(newBox));
        newBox.addFocusListener(new FocListener(this));
        newBox.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                
                if (evt.getKeyCode() == java.awt.event.KeyEvent.VK_V && evt.isControlDown()) {
                    paste();
                }
                
                if (evt.getKeyCode() == java.awt.event.KeyEvent.VK_X && evt.isControlDown()) {
                    try {
                        cut(jPanelWorkspace, buildTree);
                    } catch (ParseException ex) {
                        statusBar.println(ex.getMessage());
                    }
                }
                
                if (evt.getKeyCode() == java.awt.event.KeyEvent.VK_C && evt.isControlDown()) {
                    try {
                        copy(jPanelWorkspace, buildTree);
                    } catch (ParseException ex) {
                        statusBar.println(ex.getMessage());
                    }
                }
            }
        });
        newBox.setColumns(1);
        return newBox;
    }