@Override
    public void actionPerformed(ActionEvent e) 
    {
        Object actionObject = e.getSource();
        if (actionObject instanceof JComboBox)
        {
            JComboBox selected = (JComboBox)actionObject;
            if (selected.equals(this.instrumentOptions))
            {
                this.controlsController.loadInstrumentSelected();
            }
            else if (selected.equals(this.soundOptions))
            {
                VIPlayable sound = (VIPlayable)selected.getSelectedItem();
                this.controlsController.setElement(sound);
            }
            else if (selected.equals(this.keyOptions))
            {
                VKey key = (VKey)selected.getSelectedItem();
                this.controlsController.setKey(key);
            }
        }
    }