@Override
    public void mouseClicked(MouseEvent e) 
    {
        JButton clicked = (JButton)e.getComponent();
        if (clicked.equals(this.addButton))
        {
            List<Object> rowColumns = this.controlsController.addCurrentElement();
            this.builtController.addRow(rowColumns);
            if (!rowColumns.isEmpty())
            {
                this.keyOptions.removeItem(rowColumns.get(1));
            }
            
        }
        else if (clicked.equals(this.resetButton))
        {
            this.builtController.resetTable();
            this.controlsController.resetControls();
        }
        else if (clicked.equals(this.saveButton))
        {
            VInstrument toSave = this.controlsController.getInstrumentBuilt();
            VFileManager.instance.saveInstrument(toSave);
        }
        else if (clicked.equals(this.loadButton))
        {
            VInstrument read = VFileManager.instance.readInstrument();
            if (read != null)
            {
                loadInstrument(read);
            }
        }
    }